Bundles
Calculate discounts and taxes bundles
Changed onCalculate discounts and taxes
Permissions
This endpoint is usually used internally for backend services and does not require user permissions.
post/pub/bundles
Request
- Base URLhttp://example.com/.vtexcommercestable.com.br/api/rnb
- URLhttp://example.com/.vtexcommercestable.com.br/api/rnb/pub/bundles
- Auth
- API key in header X-VTEX-API-AppKey and API key in header X-VTEX-API-AppToken
- or API key in header VtexIdclientAutCookie
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
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
Changes
- warning
removed the request property
- warning
- info
endpoint added
- info