POST /dropshipment-items.json

POST /dropshipment-items.json
application/json

Body Required

Responses

POST /dropshipment-items.json
curl \
 -X POST http://api.example.com/v1/dropshipment-items.json \
 -H "Authorization: Bearer $ACCESS_TOKEN" \
 -H "Content-Type: application/json" \
 -d '{"dropshipmentId":42,"purchaseImportExternalId":"string","purchaseItemId":42,"quantity":0,"saleItemId":42,"source":"sale_item"}'
Request example
{
  "dropshipmentId": 42,
  "purchaseImportExternalId": "string",
  "purchaseItemId": 42,
  "quantity": 0,
  "saleItemId": 42,
  "source": "sale_item"
}
Response examples (200)
{
  "createdAt": "2024-05-04T09:42:00+00:00",
  "dropshipmentId": 42,
  "id": 42,
  "purchaseImportExternalId": "string",
  "purchaseItemId": 42,
  "quantity": 0,
  "saleItemId": 42,
  "source": "sale_item",
  "updatedAt": "2024-05-04T09:42:00+00:00"
}