Sposoby wysyłki

Tworzy sposób wysyłki

Changed on

Tworzy metodę dostawy

post/shipments

Request

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

Request body

barcodestring

kod kreskowy

free_fromnumber

Kwota od której wysyłka jest darmowa

integrationstring

Nazwa metody dostawy (nazwa technicznego klucza integracyjnego)

orderinteger

numer porządkowy/sortowania

paymentsinteger[]
pricenumber

cena dostawy

price_typestring

Metoda wyceny kosztów wysyłki (constant/by_weight/by_sum/by_weight_and_sum)

prices_by_sum_disabled_over_scopeinteger
receive_pointstring

Czy paczkę można odebrać w punkcie odbioru? (on/off/default/required)

shopsinteger[]
statusinteger

czy metoda dostawy jest dostępna 1/0

symbolstring

symbol

titlestring

Nazwa metody dostawy

Example request

{
  "free_from": 299.99,
  "integration": "sendegoinpost",
  "payments": [
    1,
    2
  ],
  "price": 12.99,
  "price_type": "constant",
  "prices_by_sum": [
    {
      "free": 99.99,
      "from": 1,
      "price": 10,
      "to": 10
    }
  ],
  "prices_by_sum_disabled_over_scope": 1,
  "prices_by_weight": [
    {
      "from": 1,
      "price": 10,
      "to": 10
    }
  ],
  "prices_by_weight_and_sum": [
    {
      "price": 10,
      "sum_from": 1,
      "sum_to": 10,
      "weight_from": 1,
      "weight_to": 10
    }
  ],
  "receive_point": "default",
  "shops": [
    1,
    2
  ],
  "status": 1,
  "title": "Paczkomat",
  "translations": [
    {
      "text": "<p>{account}</p>",
      "title": "test"
    }
  ]
}

Response

Sukces

messagestring

Wiadomość zwrotna od systemu

Example response

[
  {
    "message": "success"
  }
]

Changes

    • breaking

      the request property type changed from float to number

    • breaking

      the / request property type changed from no type to integer

    • breaking

      the request property type changed from float to number

    • breaking

      the / request property type changed from no type to integer