put https://api.vtex.com/{accountName}/pricing/pipeline/catalog/
This method will update the rules from a specific Price Table. It will delete all the rules from the requested Price Table and create new rules based on the content of the request
Request has the following properties:
Attribute | Type | Description |
---|---|---|
rules | object | Rules for Price Table |
id | integer | Rule ID |
context | object | Rule Context |
categories | object | Categories Context |
brands | object | Brands Context |
stockStatuses | object | Stock status uses |
internalCategories | object | Internal Categories |
markupRange | object | Markup Rule |
dateRange | object | Date Range Rule |
percentualModifier | float | Percentual Modifier |
Request body example
{
"tradePolicyId": "api-teste",
"rules": [
{
"id": 1,
"context": {
"categories": null,
"brands": null,
"stockStatuses": null,
"internalCategories": null,
"markupRange": null,
"dateRange": null
},
"percentualModifier": 70
}
]
}