VTEX · Example Payload

Vtex Createupdatepriceorfixedprice Example

CommerceE-CommerceRetailMarketplacePayments

Vtex Createupdatepriceorfixedprice 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": "CreateUpdatePriceOrFixedPrice",
  "method": "PUT",
  "path": "/pricing/prices/{itemId}",
  "summary": "VTex Create or update base price or fixed prices",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "markup": 30,
        "listPrice": 50,
        "basePrice": 100,
        "costPrice": 35,
        "fixedPrices": [
          {
            "tradePolicyId": "1",
            "value": 50.5,
            "listPrice": 50.5,
            "minQuantity": 2,
            "dateRange": {
              "from": "2021-12-30T22:00:00-03:00",
              "to": "2021-12-30T22:00:00-03:00"
            }
          }
        ]
      }
    }
  ],
  "responseExamples": []
}