Order
Create Order
API Documentation
- Introduction
- Authentication
- Customer API
- Product
- Pricing
- Inventory
- Order
Order
Create Order
Submits a dropship order request to Partbot. Returns a transaction guid on successful submission.
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"
}
Body
application/json
Your distributor supplied account code.
We recommend using the order number from your online store.
Response
200 - application/json
OK
The response is of type object
.
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"
}