Skip to main content

Map MCF Order to Sales Order

POST 

/api/amazon/unified/fulfillment-orders/:fulfillmentOrder/map

Attributes the MCF order to the given sales order through its fulfillment order; the shipment is recorded when Amazon reports it. Requires the sales_orders.fulfill permission. Returns 409 when the order was mapped concurrently, and 422 with an explanatory message when the link is rejected — an FNSKU not mapped to a product, a product that is not a line on the order, or a quantity larger than the order carries. Mapping an archived order unarchives it.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

The same 422 is returned when the stock the MCF order ships cannot be reserved or deducted against the sales order (not enough On Hand).

Request​

Responses​

OK

Response Headers
    Content-Type