order
order.shipment.add
Add a shipment to the order.
post/order.shipment.add.json
Request
- Base URL: https://api.api2cart.com/v1.1
- URL: https://api.api2cart.com/v1.1/order.shipment.add.json
- Auth: API key in header x-api-key and API key in header x-store-key
Request body
Example request
{
"warehouse_id": "1",
"store_id": "1",
"shipment_provider": "UPS",
"shipping_method": "flatrate_flatrate",
"tracking_link": "http://example.com?someParam=value",
"is_shipped": true,
"send_notifications": true,
"adjust_stock": true,
"tracking_provider": "Custom tracker",
"admin_comment": "Test admin comment",
"mail_class": "priority",
"ship_date": "2025-03-15 10:00:00",
"weight": 23.69,
"weight_unit": "lb",
"length": 56.12,
"width": 56.12,
"height": 56.12,
"dimensions_unit": "cm",
"shipping_label_currency": "USD",
"revenue_eligibility": true,
"ship_from_country": "US",
"ship_to_country": "GB",
"incoterm": "DAP",
"duty_currency": "USD",
"enable_cache": true,
"use_latest_api_version": true,
"idempotency_key": "098f6bcd4621d373cade4e832627b4f6"
}Response
successful operation
Changes
No recorded changes to this operation across all 1 revision of this API.