PUT /fulfillment-items/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
costPrice number | null
Cost price
-
createdAt string(date-time)
Created at
-
externalId string | null
External
-
Fulfillment
-
id integer(int32)
Id
-
Packed
Default value is
0
. -
Picked
Default value is
0
. -
purchaseItemId integer(int32) | null
Purchase item
-
Quantity
Default value is
0
. -
Sale item
-
shipstationId string | null
Shipstation
-
Skip inventory change
Default value is
false
. -
updatedAt string(date-time)
Updated at
-
Warehouse
-
xeroId string | null
Xero
PUT
/fulfillment-items/{id}.json
curl \
-X PUT http://api.example.com/v1/fulfillment-items/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"costPrice":42.0,"createdAt":"2024-05-04T09:42:00+00:00","externalId":"string","fulfillmentId":42,"id":42,"packed":0,"picked":0,"purchaseItemId":42,"quantity":0,"saleItemId":42,"shipstationId":"string","skipInventoryChange":false,"updatedAt":"2024-05-04T09:42:00+00:00","warehouseId":42,"xeroId":"string"}'
Request example
{
"costPrice": 42.0,
"createdAt": "2024-05-04T09:42:00+00:00",
"externalId": "string",
"fulfillmentId": 42,
"id": 42,
"packed": 0,
"picked": 0,
"purchaseItemId": 42,
"quantity": 0,
"saleItemId": 42,
"shipstationId": "string",
"skipInventoryChange": false,
"updatedAt": "2024-05-04T09:42:00+00:00",
"warehouseId": 42,
"xeroId": "string"
}