Body
application/json
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_name": "<string>",
"customer_email": "<string>",
"customer_phone": "<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>",
"distributor_location_code": "<string>",
"shipping": {
"carrier_account": "<string>",
"carrier_identifier": "<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_name": "<string>",
"customer_email": "<string>",
"customer_phone": "<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>",
"distributor_location_code": "<string>",
"shipping": {
"carrier_account": "<string>",
"carrier_identifier": "<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
OK
The response is of type object
.