v50

latestOpenAPI 3.0.0raw.githubusercontent.com2025-09-22312710.8 KB
Bundles

Calculate discounts and taxes bundles

Calculate discounts and taxes

Permissions

This endpoint is usually used internally for backend services and does not require user permissions.

post/pub/bundles

Headers

Content-Typestring required

Type of the content being sent.

Acceptstring required

HTTP Client Negotiation Accept Header. Indicates the types of responses the client can understand.

Request body

isShoppingCartboolean required

Indicates whether the item is a shopping cart.

originstring required

Origin.

salesChannelstring required

Sales channel.

profileIdstring required

Profile ID.

Example request

{
  "origin": "origin",
  "salesChannel": "channel",
  "profileId": "1",
  "items": [
    {
      "index": 1,
      "id": "1",
      "quantity": 1,
      "isGift": true,
      "measurementUnit": "un",
      "unitMultiplier": 1,
      "priceTags": [
        "tag"
      ],
      "params": [
        {
          "name": "Seller@CatalogSystem",
          "value": "1"
        }
      ],
      "priceSheet": [
        "pricesheet"
      ],
      "logisticsInfos": [
        "logistic"
      ],
      "sellerId": "1",
      "productSpecifications": [
        "spefification"
      ]
    }
  ]
}

Response

OK