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

Documentation Index

Fetch the complete documentation index at: https://docs.atlast.co/llms.txt

Use this file to discover all available pages before exploring further.

Orders can be ingested with an integration or programatically using this endpoint

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Body

application/json
orders
object[]
required
Required array length: 1 - 100 elements

Response

201

The request has succeeded and a new resource has been created as a result.