Create a marketplace work order from storage Run in API Explorer
Ask AI
Creates a work order (no receivable) with items sourced from storage. Resolves listing_sku + fulfillment_channel to the correct Listing record.
POST
/v1/marketplace_work_orders
curl \
--request POST 'https://api.pattern.com/hub/v1/marketplace_work_orders' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"warehouse_id":42,"items":[{"listing_sku":"string","quantity":42,"fulfillment_channel":"FBA"}]}'
Request examples
{
"warehouse_id": 42,
"items": [
{
"listing_sku": "string",
"quantity": 42,
"fulfillment_channel": "FBA"
}
]
}
Response examples (201)
{
"work_order_id": 42
}
Response examples (422)
{
"errors": [
"string"
]
}
Response examples (404)
{
"errors": [
"string"
]
}