Limited to 1000 shipments at a time
curl -i -X POST \
'https://your-instance.mirakl.net/api/shipments?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"invoice_reference": "string",
"order_id": "string",
"shipment_additional_information": [
{
"code": "string",
"type": "string",
"value": {}
}
],
"shipment_lines": [
{
"offer_sku": "string",
"order_line_id": "string",
"package_reference": "string",
"quantity": 1
}
],
"shipped": false,
"shipping_from": {
"warehouse": {
"code": "string"
}
},
"tracking": {
"carrier_code": "string",
"carrier_name": "string",
"carrier_standard_code": "string",
"tracking_number": "string",
"tracking_url": "string"
}
}
]
}'
{ "shipment_errors": [ { … } ], "shipment_success": [ { … } ] }
curl -i -X PUT \
'https://your-instance.mirakl.net/api/shipments?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"id": "string",
"shipping_from": {
"warehouse": {
"code": "string"
}
}
}
]
}'
{ "shipment_errors": [ { … } ], "shipment_success": [ { … } ] }
Order id for filtering. This parameter can be supplied multiple times (order_id=OR01-A&order_id=OR02-A...).
Shipment state code for filtering. This parameter can be supplied multiple times (shipment_state_code=SHIPPING&shipment_state_code=SHIPPED...).
Shipment customer debit state code for filtering. This parameter can be supplied multiple times (shipment_customer_debit_state_code=WAITING_TAX_CONFIRMATION&shipment_customer_debit_state_code=DEBIT_OK...).
Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.
curl -i -X GET \
'https://your-instance.mirakl.net/api/shipments?last_updated_from=2019-08-24T14%3A15%3A22Z&last_updated_to=2019-08-24T14%3A15%3A22Z&order_id=string&page_token=string&shipment_customer_debit_state_code=string&shipment_state_code=string&shop_id=0&sort=string'
{ "data": [ { … } ], "next_page_token": "string", "previous_page_token": "string" }
curl -i -X PUT \
'https://your-instance.mirakl.net/api/shipments/delete?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"id": "string"
}
]
}'
{ "shipment_errors": [ { … } ], "shipment_success": [ { … } ] }
Order id for filtering. This parameter can be supplied multiple times (order_id=OR01-A&order_id=OR02-A...).
Fulfillment center code for filtering. This parameter can be supplied multiple times (fulfillment_center_code=ABC&fulfillment_center_code=DEF...).
Use this parameter when your user has access to several shops. If not specified, the shop_id from your default shop will be used.
curl -i -X GET \
'https://your-instance.mirakl.net/api/shipments/items_to_ship?fulfillment_center_code=string&order_id=string&page_token=string&shipping_date_from=2019-08-24T14%3A15%3A22Z&shipping_date_to=2019-08-24T14%3A15%3A22Z&shop_id=0&sort=string'
{ "data": [ { … } ], "next_page_token": "string", "previous_page_token": "string" }
curl -i -X POST \
'https://your-instance.mirakl.net/api/shipments/tracking?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"id": "string",
"tracking": {
"carrier_code": "string",
"carrier_name": "string",
"carrier_standard_code": "string",
"tracking_number": "string",
"tracking_url": "string"
}
}
]
}'
{ "shipment_errors": [ { … } ], "shipment_success": [ { … } ] }
curl -i -X PUT \
'https://your-instance.mirakl.net/api/shipments/ship?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"id": "string"
}
]
}'
{ "shipment_errors": [ { … } ], "shipment_success": [ { … } ] }
curl -i -X PUT \
'https://your-instance.mirakl.net/api/shipments/ready_for_pick_up?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"id": "string"
}
]
}'
{ "shipment_errors": [ { … } ], "shipment_success": [ { … } ] }
curl -i -X PUT \
'https://your-instance.mirakl.net/api/shipments/additional_information?shop_id=0' \
-H 'Content-Type: application/json' \
-d '{
"shipments": [
{
"id": "string",
"shipment_additional_information": [
{
"code": "string",
"type": "string",
"value": {}
}
]
}
]
}'
{ "shipment_update_errors": [ { … } ], "shipment_update_success": [ { … } ] }