VTEX · Example Payload

Vtex Getgiftcardfromgiftcardproviderbyid Example

CommerceE-CommerceRetailMarketplacePayments

Vtex Getgiftcardfromgiftcardproviderbyid 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": "GetGiftCardfromGiftCardProviderbyID",
  "method": "GET",
  "path": "/api/giftcardproviders/{giftCardProviderId}/giftcards/{giftCardId}",
  "summary": "VTex Get GiftCard from GiftCard Provider by ID",
  "requestExamples": [],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "id": "5",
        "redemptionToken": "32ScL57220Vapb8pc50HJ3mWH1cl1L8x",
        "redemptionCode": "***********ASDQ",
        "balance": 870,
        "emissionDate": "2014-04-24T20:22:58.163",
        "expiringDate": "2016-01-01T00:00:00",
        "currencyCode": "USD",
        "discount": false,
        "transactions": {
          "href": "cards/954/transactions"
        }
      }
    }
  ]
}