VTEX · Example Payload

Vtex Getprice Example

CommerceE-CommerceRetailMarketplacePayments

Vtex Getprice 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": "GetPrice",
  "method": "GET",
  "path": "/pricing/prices/{itemId}",
  "summary": "VTex Get price by SKU ID",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "itemId": "1234512354",
        "listPrice": 300,
        "costPrice": 10,
        "markup": 2400,
        "basePrice": 250,
        "fixedPrices": [
          {
            "tradePolicyId": "1",
            "value": 666.66,
            "listPrice": null,
            "minQuantity": 1
          },
          {
            "tradePolicyId": "9",
            "value": 4500,
            "listPrice": null,
            "minQuantity": 1
          },
          {
            "tradePolicyId": "9",
            "value": 600,
            "listPrice": null,
            "minQuantity": 1,
            "dateRange": {
              "from": "2017-12-07T14:30:00Z",
              "to": "2017-12-30T14:30:00Z"
            }
          },
          {
            "tradePolicyId": "9",
            "value": 5555.55,
            "listPrice": null,
            "minQuantity": 1,
            "dateRange": {
              "from": "2017-12-20T14:30:00Z",
              "to": "2017-12-22T14:30:00Z"
            }
          },
          {
            "tradePolicyId": "9",
            "value": 555.55,
            "listPrice": null,
            "minQuantity": 1,
            "dateRange": {
              "from": "2017-12-06T15:00:00Z",
              "to": "2017-12-14T15:00:00Z"
            }
          },
          {
            "tradePolicyId": "10",
            "value": 5555.55,
            "listPrice": null,
            "minQuantity": 1
          },
          {
            "tradePolicyId": "18",
            "value": 555.55,
            "listPrice": null,
            "minQuantity": 1
          }
        ]
      }
    }
  ]
}