curl --request POST \
--url https://api.sanka.com/v1/public/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"order": {
"externalId": "<string>",
"items": [
{
"item_id": "<string>",
"itemExternalId": "<string>",
"quantity": 1,
"price": 123,
"tax": 123,
"tax_rate": 123
}
],
"companyId": "<string>",
"companyExternalId": "<string>",
"orderAt": "<string>",
"deliveryStatus": "<string>"
},
"createMissingItems": false,
"triggerWorkflows": true
}
'{
"ok": true,
"results": [
{
"external_id": "<string>",
"status": "<string>",
"order_id": "<string>",
"errors": [
"<string>"
]
}
],
"job_id": "<string>",
"ctx_id": "<string>"
}curl --request POST \
--url https://api.sanka.com/v1/public/orders \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"order": {
"externalId": "<string>",
"items": [
{
"item_id": "<string>",
"itemExternalId": "<string>",
"quantity": 1,
"price": 123,
"tax": 123,
"tax_rate": 123
}
],
"companyId": "<string>",
"companyExternalId": "<string>",
"orderAt": "<string>",
"deliveryStatus": "<string>"
},
"createMissingItems": false,
"triggerWorkflows": true
}
'{
"ok": true,
"results": [
{
"external_id": "<string>",
"status": "<string>",
"order_id": "<string>",
"errors": [
"<string>"
]
}
],
"job_id": "<string>",
"ctx_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.