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>",
"lines": [
{
"sku": "<string>",
"quantity": 123,
"price_inc_tax": "<string>",
"distributor_location_code": "<string>",
"shipping": {
"carrier_account": "<string>",
"carrier_identifier": "<string>"
}
}
],
"customer_name": "<string>",
"customer_email": "<string>",
"customer_phone": "<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>"
},
"charges": [
{
"charge_identifier": "<string>",
"description": "<string>",
"price_inc_tax": 123
}
],
"notes": [
"<string>"
]
}
}
'{
"success": true,
"order_transaction_id": "c2595d63-1821-4b63-8afb-01afdf0cdf8b"
}Submits a dropship order request to Partbot. Returns a transaction guid on successful submission.
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>",
"lines": [
{
"sku": "<string>",
"quantity": 123,
"price_inc_tax": "<string>",
"distributor_location_code": "<string>",
"shipping": {
"carrier_account": "<string>",
"carrier_identifier": "<string>"
}
}
],
"customer_name": "<string>",
"customer_email": "<string>",
"customer_phone": "<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>"
},
"charges": [
{
"charge_identifier": "<string>",
"description": "<string>",
"price_inc_tax": 123
}
],
"notes": [
"<string>"
]
}
}
'{
"success": true,
"order_transaction_id": "c2595d63-1821-4b63-8afb-01afdf0cdf8b"
}Show child attributes
Your distributor supplied account code.
We recommend using the order number from your online store.
Show child attributes
Location code for the distributor warehouse
Customer's full name
Customer's email address
Customer's phone number
If order.address is not provided, we will use your team's company address.
Additional notes for the order
OK
The response is of type object.