POST /fulfillment-items.json
Body Required
-
costPrice number | null
Cost price
-
externalId string | null
External
-
Fulfillment
-
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
. -
Warehouse
-
xeroId string | null
Xero
POST
/fulfillment-items.json
curl \
-X POST http://api.example.com/v1/fulfillment-items.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"costPrice":42.0,"externalId":"string","fulfillmentId":42,"packed":0,"picked":0,"purchaseItemId":42,"quantity":0,"saleItemId":42,"shipstationId":"string","skipInventoryChange":false,"warehouseId":42,"xeroId":"string"}'
Request example
{
"costPrice": 42.0,
"externalId": "string",
"fulfillmentId": 42,
"packed": 0,
"picked": 0,
"purchaseItemId": 42,
"quantity": 0,
"saleItemId": 42,
"shipstationId": "string",
"skipInventoryChange": false,
"warehouseId": 42,
"xeroId": "string"
}
Response examples (200)
{
"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"
}