Body
Required
-
context
string | null Context
-
label
string Required Label
Values are
dropship
orfulfill
. -
saleItemId
integer(int32) Required Sale item
values
object | null | array | boolean | integer | number | string Values
POST
/sale-item-routings.json
curl \
--request POST 'http://api.example.com/v1/sale-item-routings.json' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"context":"string","label":"dropship","saleItemId":42,"values":{}}'
Request examples
{
"context": "string",
"label": "dropship",
"saleItemId": 42,
"values": {}
}
Response examples (200)
{
"context": "string",
"createdAt": "2025-05-04T09:42:00Z",
"id": 42,
"label": "dropship",
"saleItemId": 42,
"updatedAt": "2025-05-04T09:42:00Z",
"values": {}
}