ops
ops-orders
Create a shipment
Changed onAdd shipment info to an existing order.
post/ops/shipment
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/shipment
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-order:edit
Request body
Example request
{
"order_id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"seller_id": "abc123",
"serial_numbers": [
{
"asset_id": "abc123",
"seller_product_reference": {
"reference": "123ab-5343",
"source": "sap"
},
"serial_number": "BA-3456786-334-9",
"tracking_url": "abc123"
}
]
}Response
OK response.
Example response
{
"seller_id": "abc123",
"serial_numbers": [
{
"asset_id": "abc123",
"seller_product_reference": {
"reference": "123ab-5343",
"source": "sap"
},
"serial_number": "BA-3456786-334-9",
"tracking_url": "abc123"
}
]
}Changes
- warning
the
///request property's maxLength was set to255 - warning
the
///request property's maxLength was set to255
- warning
- info
api operation id
order.createShipmentremoved and replaced withorder#createShipment
- info