Product update

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

Updates an ACTIVE Etsy product

For whoMade field you can use the values:

StartFragment

i_did, someone_else or collective

For whenMade field you can use the values:

made_to_order, 2020_2022, 2010_2019, 2003_2009, before_2003, 2000_2002, 1990s, 1980s, 1970s, 1960s, 1950s, 1940s, 1930s, 1920s, 1910s, 1900s, 1800s, 1700s or before_1700

More information about ecommerce's resource

Request Body

{"product"=>{"name"=>"Producto Post EcartApi V2", "description"=>"Este es un producto agregado con EcartApi v2", "price"=>"200", "quantity"=>"2", "productType"=>"19", "whoMade"=>"true[i did]/false[someone else]", "whenMade"=>"YYYY-MM-DD"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"success":true,"product":{"id":"1344606269","sku":null,"name":"Vestido de pruebas 3","subName":null,"upc":null,"description":"Vestido de pruebas","currency":"MXN","productType":"physical","quantity":"10","price":"10","cost":null,"discount":null,"dimensions":{"width":null,"height":null,"length":null,"weight":null},"units":{"width":null,"height":null,"length":null,"weight":null},"category":{"id":"505","name":null,"all":[]},"tags":[],"status":{"id":null,"visibility":null,"active":true,"status":"active","ecartapiId":null,"ecartapi":null,"hasOptions":null},"variants":[],"options":[],"associatedItems":[],"logistic":{"mode":null,"type":null,"free":"false","direction":null,"dimensions":null},"images":[],"imageUrl":null,"condition":null,"link":"https://www.etsy.com/listing/1344606269/vestido-de-pruebas-3","dates":{"createdAt":"2022-11-11T15:21:01.000Z","updatedAt":"2022-12-17T00:12:27.000Z"},"vendor":null,"sellOutStock":null}}