Skip to content
OrdersOrders

Link order already in channel

Links an order the channel did not confirm to the order the channel already has, so it isn't created twice.

POST/v1/orders/{orderId}/channels/{channelId}/link
Requires an access token with the order:update permission.

Path Parameters

orderId*string

Identifier of the order.

channelId*string

Identifier of the sales channel.

Header Parameters

x-Store-Id?string

Store the request acts on. Not needed when the token is bound to a store.

Authorization*string

OAuth 2.0 bearer token.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://api.ecomiq.pe/api/v1/orders/7204558912004325350/channels/7204558912004329619/link" \  -H "x-Store-Id: <store-id>" \  -H "Authorization: Bearer <token>" \  -H "Content-Type: application/json" \  -d '{    "externalOrderId": "7204558912004322467"  }'
Empty