Skip to main content
PATCH
/
v1
/
admin
/
distribution
/
product-mappings
/
{id}
Update a product mapping
curl --request PATCH \
  --url https://{operatorDomain}/v1/admin/distribution/product-mappings/{id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "channelId": "<string>",
  "productId": "<string>",
  "externalProductId": "<string>",
  "externalRateId": "<string>",
  "externalCategoryId": "<string>",
  "active": true
}
'
{
  "data": {}
}

Authorizations

Authorization
string
header
required

Staff session or API token issued by your Voyant app.

Path Parameters

id
string
required

Body

application/json
channelId
string
required
productId
string
required
externalProductId
string
externalRateId
string
externalCategoryId
string
active
boolean

Response

200 - application/json

Updated mapping

data
object