Zwroty - Słowniki

Pobierz listę dostępnych źródeł zwrotów

Changed on

Zwraca słownik dostępnych źródeł zwrotu (np. Sklep internetowy, Allegro, Panel ręczny). Użyj id w polu source_id lub name w polu source podczas tworzenia zwrotu.

get/returns_sources

Request

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

Response

Sukces. Zwraca listę źródeł zwrotu.

idinteger

ID źródła do użycia w polu source_id

namestring

Nazwa źródła zwrotu

colorstring
defaultboolean

Czy źródło jest domyślne

Example response

[
  {
    "id": 1,
    "name": "Sklep internetowy",
    "color": "#007bff",
    "default": true
  }
]

Changes