Product

PUT https://api.ecartapi.com/api/v2/products/{{id}}

Request that updates product information.

More information about the ecommerce's resource.

Request Body

{"product"=>{"name"=>"My test product update", "categoryId"=>"224", "price"=>"1234", "storeId"=>"1", "status"=>{"status"=>"A"}}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"product":{"id":291,"sku":null,"name":"My test product update","description":null,"currency":null,"productType":null,"quantity":"0","price":"1234.000000","dimensions":{"width":"0","height":"0","length":"0","weight":"0.000"},"units":{"width":null,"height":null,"length":null,"weight":null},"category":{"id":224,"name":null,"all":[224]},"tags":[],"status":{"id":null,"visibility":"true","active":"true","status":"A","ecartapi":"active","ecartapiId":"1"},"variants":[],"options":[],"associatedItems":[],"images":[],"imageUrl":null,"condition":null,"link":null,"dates":{"createdAt":"1635961131","updatedAt":"1635961808","imageUrl":null},"vendor":"1","sellOutStock":null}}