PUT /dropshipment-items/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
Dropshipment
-
id integer(int32)
Id
-
purchaseImportExternalId string | null
Purchase import external
-
Purchase item
-
Quantity
Default value is
0
. -
saleItemId integer(int32) | null
Sale item
-
Source
Values are
sale_item
ordropship_purchase_import
. Default value issale_item
. -
updatedAt string(date-time)
Updated at
PUT /dropshipment-items/{id}.json
curl \
-X PUT http://api.example.com/v1/dropshipment-items/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"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"}'
Request example
{
"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"
}