Produkty - Zestawy produktowe

Masowa aktualizacja zestawów produktowych (Bulk Update)

Changed on

Masowa aktualizacja zestawów

put/sets_bulk

Request

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

Request body

idinteger
main_product_idinteger
pricenumber
product_idinteger
product_symbolstring
productvariant_idinteger
quantityinteger

Example request

[
  {
    "id": 1,
    "main_product_id": 666,
    "price": 153,
    "product_id": 666,
    "product_symbol": "SYM123",
    "productvariant_id": 1,
    "quantity": 2
  },
  {
    "id": 2,
    "main_product_id": 555,
    "price": 153,
    "product_id": 444,
    "product_symbol": "SYM333",
    "productvariant_id": 2,
    "quantity": 2
  },
  {
    "id": 3,
    "main_product_id": 222,
    "price": 153,
    "product_id": 111,
    "product_symbol": "SYM666",
    "productvariant_id": 2,
    "quantity": 2
  }
]

Response

Sukces, zestawy zostały zaktualizowane

Changes

    • breaking

      request body became required

    • breaking

      the request property type changed from no type to object

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the new optional request property /

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status