Marketplace Yandex

Задать себестоимость товара Яндекс Маркета

Идемпотентно по паре магазин плюс артикул. Пустая себестоимость приводится к нулю; note сохраняется, но в ответ не возвращается.

post/api/v1/marketplace/yandex/cost

Request

  • Base URL: https://erp.akeda.ru
  • URL: https://erp.akeda.ru/api/v1/marketplace/yandex/cost
  • Auth: one of:
    • HTTP bearer
    • API key in header X-Api-Key
    • OAuth 2 (authorization code, authorization URL https://erp.akeda.ru/oauth2/authorize, token URL https://erp.akeda.ru/oauth2/token, scopes: akeda:delegate)
    • HTTP bearer

Headers

X-Tenantstring required

Slug выбранного кабинета; кабинет не является юрлицом

Request body

storestring uuid required
offer_idstring required

Артикул продавца

coststring

Себестоимость decimal строкой; пустая строка сохраняется как ноль

notestring

Комментарий; сохраняется, но в ответ не возвращается

Response

Сохранённая себестоимость

storestring uuid required
offer_idstring required
coststring required

Себестоимость decimal строкой

Changes

No recorded changes to this operation across all 1 revision of this API.