Orders
Submit an order
Submit an order
post/v1/shops/{shop_id}/orders.json
Request body
Example request
{
"external_id": "2750e210-39bb-11e9-a503-452618153e4a",
"label": "00012",
"line_items": [
{
"product_id": "5bfd0b66a342bcc9b5563216",
"variant_id": 17887,
"quantity": 1,
"external_id": "line-item-abc-001"
}
],
"shipping_method": 1,
"address_to": {
"first_name": "Jane",
"last_name": "Smith",
"address1": "ExampleBaan 121",
"address2": "Apt 4B",
"city": "Retie",
"zip": "2470",
"email": "example@msn.com",
"phone": "0574 69 21 90",
"country": "BE",
"company": "MSN"
}
}Response
Successful operation
Example response
{
"id": "5a96f649b2439217d070f507"
}