Produkty - Oferty

Pobierz listę powiązań ofert z produktami i wariantami

Changed on

Zwraca listę ofert powiązanych z produktem lub wariantem.

get/products_offers

Request

  • Base URL
    https://demo.sellasist.pl/api/v1
  • URL
    https://demo.sellasist.pl/api/v1/products_offers
  • Auth
    API key in header apiKey

Query parameters

product_idinteger

ID produktu głównego

variant_idinteger

ID konkretnego wariantu produktu

external_account_idinteger

ID konta integracji (z GET /external_accounts)

account_idinteger

Alias dla external_account_id

external_offer_idstring

Zewnętrzny identyfikator oferty (np. numer aukcji Allegro)

integration'allegro' | 'marketplaces' | 'externalshops'

Filtrowanie po typie integracji

limitinteger

Maksymalny limit: 500

offsetinteger

Response

Lista powiązań ofert pobrana pomyślnie

idinteger

ID powiązania oferty

product_idinteger nullable

ID produktu głównego w Sellasist

variant_idinteger nullable

ID konkretnego wariantu produktu (jeśli powiązanie dotyczy wariantu)

external_account_idinteger

ID konta integracji (z GET /external_accounts)

account_idinteger

ID konta integracji (z GET /external_accounts)

external_offer_idstring

Zewnętrzny identyfikator oferty (offer_id)

integrationstring

Typ integracji (allegro, marketplaces, externalshops)

Example response

[
  {
    "id": 1524,
    "product_id": 123,
    "variant_id": 7691,
    "external_account_id": 10,
    "account_id": 10,
    "external_offer_id": "748392011",
    "integration": "allegro"
  }
]

Changes

    • breaking

      the response property / became nullable for the status

    • info

      added the new optional query request parameter external_account_id

    • info

      added the new optional query request parameter variant_id

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status