VTEX · Example Payload

Vtex Updatepartialdocument Example

CommerceE-CommerceRetailMarketplacePayments

Vtex Updatepartialdocument 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": "Updatepartialdocument",
  "method": "PATCH",
  "path": "/api/dataentities/{dataEntityName}/documents/{id}",
  "summary": "VTex Update partial document",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "phone": "+12025550195",
        "isNewsletterOptIn": false
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "Id": "Newsletter-b818cbda-e489-11e6-94f4-0ac138d2d42e",
        "Href": "http://api.vtex.com/apiexamples/dataentities/Newsletter/documents/b818cbda-e489-11e6-94f4-0ac138d2d42e"
      }
    }
  ]
}