curl --request POST \
--url https://api.atlast.co/v1/orders/bulk \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"orders": [
{
"id": "<string>",
"merchantId": "<string>",
"reference": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"userEmail": "jsmith@example.com",
"orderNumber": "<string>",
"orderTotal": {
"value": 1,
"currency": "<string>"
},
"itemSubTotal": {
"value": 1,
"currency": "<string>"
},
"shippingTotal": {
"value": 1,
"currency": "<string>"
},
"discount": {
"value": 1,
"currency": "<string>"
},
"outboundFulfilment": {
"carrier": "<string>",
"shippingDate": "2025-01-20",
"trackingNumber": "<string>"
},
"items": [
{
"id": "<string>",
"quantity": 2,
"imageUrl": "<string>",
"sku": "<string>",
"name": "<string>",
"variantName": "<string>",
"description": "<string>",
"price": {
"value": 1,
"currency": "<string>"
},
"weight": {
"value": 1,
"unit": "GRAMS"
},
"discount": {
"value": 1,
"currency": "<string>"
},
"hsCode": "<string>",
"countryCodeOfOrigin": "<string>"
}
],
"customer": {
"lastName": "<string>",
"firstName": "<string>",
"phone": "<string>",
"address": {
"line1": "<string>",
"line2": "<string>",
"line3": "<string>",
"city": "<string>",
"postCode": "<string>",
"company": "<string>",
"country": "<string>",
"province": "<string>"
}
}
}
]
}'