PUT https://api.ecartapi.com/api/v2/products/{{id}}
Updates the product information, according to new detailed information. Important information:
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
Authorization
|
string | ||
Content-Type
|
string |
RESPONSES
status OK
{
"success": true,
"product": {
"id": "25",
"sku": null,
"name": "Product test 3 EcartApi",
"subName": null,
"upc": null,
"description": null,
"currency": null,
"productType": "simple",
"quantity": "8",
"price": "111",
"dimensions": {
"width": "0.000000",
"height": "0.000000",
"length": "0.000000",
"weight": "0.000000"
},
"units": {
"width": "cm",
"height": "cm",
"length": "cm",
"weight": "kg"
},
"category": {
"id": "2",
"name": null,
"all": null
},
"tags": [],
"status": {
"id": null,
"visibility": "both",
"active": "true",
"status": "1",
"ecartapiId": "1",
"ecartapi": "active"
},
"variants": [],
"options": [],
"associatedItems": [],
"images": [],
"imageUrl": null,
"condition": "new",
"link": null,
"dates": {
"createdAt": "2021-10-15 11:23:56",
"updatedAt": "2022-06-29 12:53:25"
},
"vendor": null,
"sellOutStock": true
}
} |
ENDPOINTS