Create Transaction Item Shipments

POST /v1/transactions/{externalTransactionID}/items/{externalItemID}/shipments

Create Transaction Item Shipments

Body Required

externalWarehouseID is required

Responses

POST /v1/transactions/{externalTransactionID}/items/{externalItemID}/shipments
curl \
 -X POST https://ma-api.maddenanalytics.com/v1/transactions/{externalTransactionID}/items/{externalItemID}/shipments \
 -H "Authorization: $API_KEY" \
 -d '{"externalWarehouseID":"central-ws","quantity":1,"shipmentDate":"2022-08-17T16:50:50+02:00","shipmentID":"779644-1"}'
Request example
{
  "externalWarehouseID": "central-ws",
  "quantity": 1,
  "shipmentDate": "2022-08-17T16:50:50+02:00",
  "shipmentID": "779644-1"
}
Response examples (201)
{
  "error": "Error Type (if any)",
  "message": "Message describing the error",
  "statusCode": 400
}
Response examples (default)
{
  "error": "Error Type (if any)",
  "message": "Message describing the error",
  "statusCode": 400
}