Skip to main content

Update Channel Mappings

PUT 

/api/v2/sales-orders/:salesOrder/channel-mappings

Updates the sales channel line ID mappings for sales order lines. Set sales_channel_line_id to null to unlink a line from its channel item.

Authentication: Requires Bearer token.

Request Body:

  • mappings (required, array): Array of mapping objects
    • mappings.*.line_id (required, integer): Sales order line ID (must belong to this order)
    • mappings.*.sales_channel_line_id (nullable, string): Marketplace order item ID to link, or null to unlink

Request

Responses

Successful response