Upsert shop assortment entry
POST
/partners/{id}/shops/{shop_id}/assortment
const url = 'https://example.com/partners/example/shops/example/assortment';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '{"sku":"example","name":"example","price":"NaN"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example.com/partners/example/shops/example/assortment \ --header 'Content-Type: application/json' \ --data '{ "sku": "example", "name": "example", "price": "NaN" }'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string
shop_id
required
string
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ” Media type application/json
object
id
required
string
price
Example
{ "price": "NaN"}