Sari la conținut

Canale magazin

Canalele de vânzare: magazine proprii și marketplace-uri. Setările canalului nu se expun.

Modul: Magazin online (shop).

  • GET /api/v1/shop_channels - Listare cu filtre, sortare și paginare (scope shop:read)
  • GET /api/v1/shop_channels/{id} - O înregistrare după id (scope shop:read)
  • POST /api/v1/shop_channels - Creează o înregistrare (scope shop:write)
  • PATCH /api/v1/shop_channels/{id} - Modifică câmpurile trimise (scope shop:write)
  • POST /api/v1/shop_channels/{id}/ensure_feed - Adresa feed-ului canalului. Tokenul din ea e secret. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/get_markets - Piețele canalului. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/set_markets - Piețele, prețurile și completarea lor. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/get_i18n - Limbile și traducerile canalului. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/merge_i18n - Adaugă sau modifică traduceri; ce nu trimiți rămâne. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/get_emails - Textele emailurilor canalului. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/set_emails - Salvează emailurile canalului. (scope shop:write)
  • POST /api/v1/shop_channels/{id}/set_payment_methods - Metodele de plată ale canalului. Cheile procesatorului rămân în aplicație. (scope shop:write)
  • id (string, uuid; citire): Identificator unic (UUID).
  • name (string; scriere, obligatoriu)
  • slug (string; scriere)
  • channel_type (string; scriere)
  • marketplace_provider (string; scriere)
  • currency (string; scriere): Moneda (cod ISO, ex. RON).
  • price_list_id (string, uuid; scriere)
  • legal_entity_id (string; scriere)
  • warehouse_ids (array; scriere)
  • allowed_domains (array; scriere)
  • test_mode (boolean; scriere)
  • is_active (boolean; scriere): Dacă înregistrarea este activă.
  • created_at (string, date-time; citire): Data creării (ISO 8601).
  • updated_at (string, date-time; citire): Data ultimei modificări (ISO 8601).
  • site_id (string, uuid; citire)