Path parameters
-
id
integer(int64) Required Numeric ID of the instance
Minimum value is
1
.
Body
Required
-
createdAt
string(date-time) Created at
-
dropshipmentId
integer(int32) Required Dropshipment
-
id
integer(int32) Id
-
purchaseImportExternalId
string | null Purchase import external
-
purchaseItemId
integer(int32) Required Purchase item
-
quantity
integer(int32) Required Quantity
Default value is
0
. -
saleItemId
integer(int32) | null Sale item
-
source
string | null Required Source
Values are
sale_item
ordropship_purchase_import
. Default value issale_item
. -
updatedAt
string(date-time) Updated at
PUT
/dropshipment-items/{id}.json
curl \
--request PUT 'http://api.example.com/v1/dropshipment-items/{id}.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"createdAt":"2025-05-04T09:42:00Z","dropshipmentId":42,"id":42,"purchaseImportExternalId":"string","purchaseItemId":42,"quantity":0,"saleItemId":42,"source":"sale_item","updatedAt":"2025-05-04T09:42:00Z"}'
Request examples
{
"createdAt": "2025-05-04T09:42:00Z",
"dropshipmentId": 42,
"id": 42,
"purchaseImportExternalId": "string",
"purchaseItemId": 42,
"quantity": 0,
"saleItemId": 42,
"source": "sale_item",
"updatedAt": "2025-05-04T09:42:00Z"
}