Link to Ecommerce Product
Links a product in Centelar with a corresponding product in the ecommerce system.
POST /api/v1.1/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
{
"producto_id": 23432,
"activo": true,
"estado": "ok",
"fecha_estado": "2021-11-23T00:14:29-0300",
"connection_id": 5,
"ext_id": "2432423"
}