VTEX · Example Payload

Vtex Getrulesforapricetable Example

CommerceE-CommerceRetailMarketplacePayments

Vtex Getrulesforapricetable Example is an example object payload from VTEX, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "operationId": "Getrulesforapricetable",
  "method": "GET",
  "path": "/pricing/pipeline/catalog/{priceTableId}",
  "summary": "VTex Get rules for a price table",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "tradePolicyId": "b2c",
        "rules": [
          {
            "id": 0,
            "context": {
              "categories": {},
              "brands": {
                "2000009": "Whiskas"
              },
              "stockStatuses": null,
              "internalCategories": null,
              "markupRange": null,
              "dateRange": null
            },
            "percentualModifier": 15
          }
        ]
      }
    }
  ]
}