POST
/
v1
/
order
curl --request POST \
  --url https://api.partbot.io/v1/order \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: <content-type>' \
  --data '{
  "order": {
    "account": "<string>",
    "warehouse": "<string>",
    "customer_reference": "<string>",
    "customer_note": "<string>",
    "address": {
      "address_line_1": "<string>",
      "address_line_2": "<string>",
      "city": "<string>",
      "postal_code": "<string>",
      "state": "<string>",
      "country": "<string>",
      "country_code": "<string>"
    },
    "lines": [
      {
        "sku": "<string>",
        "quantity": 123,
        "price_inc_tax": "<string>"
      }
    ]
  }
}'
{
  "success": true,
  "order_transaction_id": "c2595d63-1821-4b63-8afb-01afdf0cdf8b"
}

Headers

Authorization
string
required
Content-Type
string
required

Body

application/json
order
object
required

Response

200 - application/json
OK

The response is of type object.