Order Conflicts API (v0)
Download OpenAPI specification:Download
This is an internal API for processing conflicted orders and items.
Process conflicted order
Process conflicted order and items. For each item, an action can be defined. Actions can be:
- reroute
- cancel
- swap
- manual_routing Depending on the action, different fields on items are required. They are defined in the schema
Authorizations:
newStoreAccessToken
Request Body schema: Application/json
order_id required | string = 36 characters The internal identifier(Sales Order UUID) of the order that we want to fix. |
required | Array of objects or objects or objects non-empty Complete list of items and actions to be performed on them (reroute/cancel or swap). |
Request samples
- Payload
Content type
Application/json
{- "order_id": "6d56b2d9-b403-4d5f-8897-75527f54acd5",
- "items": [
- {
- "item_id": "6e71bc7b-0dc9-4f19-820e-8ce46a15339f",
- "action": "reroute"
}, - {
- "item_id": "1e0d1881-2cac-4e42-8390-1bf67508de7e",
- "action": "cancel"
}, - {
- "item_id": "1e0d1881-2cac-4e42-8390-1bf67508de7e",
- "action": "swap",
- "swap_to": {
- "uuid": "9755e5cc-17f7-4dc1-b528-353fe504eb57",
- "product_id": "ID123",
- "product_sku": "SKU123",
- "product_name": "Product name",
- "shipping_weight_value": 10,
- "shipping_weight_unit": "kg",
- "product_hts_number": "4901 99",
- "country_of_origin": "DE",
- "material": "Product description",
- "schedule_b": "1234567890",
- "product_attributes": {
- "variation_color_value": "Black",
- "variation_size_value": "Small",
- "variation_additional_1_value": "Wood",
- "variation_additional_2_value": "Glass"
}, - "product_customs_category": "Category",
- "epc_list": [
- "EPCNUMBER1"
]
}
}, - {
- "item_id": "de089343-e940-4ad0-8d76-82de6102476f",
- "action": "manual_routing",
- "route_to": {
- "fulfillment_node_id": "US1"
}
}
]
}