Link to Ecommerce Product

Links a product in Centelar with a corresponding product in the ecommerce system.

POST /api/v2_2/product/link_to_ecommerce?id=<id>&enabled=<enabled>&connection_id=<connection_id>&ext_id=<ext_id>

Input Parameters

Name Type Description
id integer Required. The id of the product in Centelar
enabled boolean true or false (default: true)
connection_id integer Required. The id of the connection established for the given ecommerce integration
ext_id string Required. The id of the product in the ecommerce world

Response Sample

Status: 200 OK
{
  "product_id": 23432,
  "active": true,
  "status": "ok",
  "status_date": "2021-11-23T00:14:29-0300",
  "connection_id": 5,
  "ext_id": "2432423"
}