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>",
      "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>"
        }
      }
    }
  ]
}'
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.