Marketplace Wildberries

Задать себестоимость артикула Wildberries

Changed on

Себестоимость хранится в кабинете (аналитическая база только читается) и подставляется в товары, P&L, декомпозицию и ценообразование WB. Пустая строка cost трактуется как ноль.

post/api/v1/marketplace/wb/cost

Request

  • Base URL
    https://erp.akeda.ru
  • Auth
    • HTTP bearer
    • or API key in header X-Api-Key
    • or OAuth 2
      Authorization codehttps://erp.akeda.ru/oauth2/authorize
      Token URLhttps://erp.akeda.ru/oauth2/token
      Scopesakeda:delegate
    • or HTTP bearer

Headers

X-Tenant, string required

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

Request body

MarketplaceWbCostRequest required
store, string uuid required
offer_id, string required

Артикул поставщика

cost, string

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

note, string
effective_date, string date

Явная дата начала ставки, YYYY-MM-DD, сохраняет историю и не может быть раньше последней ставки или внутри переданных недель (409 marketplace.cost_date_refused). Без даты пересчитываются непереданные недели; переданные документы автоматически не меняются

Response

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

MarketplaceWbCost required
store, string required
offer_id, string required
cost, string required

Changes

    • info

      added the new optional request property effective_date

    • info

      added the non-success response with the status

    • info

      added the optional property field to the response with the status

    9 more changes in this revision