Plataformas Digitais - Brazil
  1. Consent
Plataformas Digitais - Brazil
  • SPDBR Journey API
  • Service PDP
    • Get Product by Slug V2
      GET
    • Get Translate review
      GET
    • Get product review
      GET
    • Get Product by Slug
      GET
  • Service Search
    • Search
      • Search Products by Term
      • teste, preco na busca
    • Autocomplete
      • Get Autocomplete suggestions
    • Recommendation
      • Pages Recommendations V3
    • TopSearch
  • Service Member
    • Address
      • UpdateAddress
      • AddAddress
      • RemoveAddress
      • GetAddress
    • Consent
      • UpdateConsent
        PATCH
      • GetConsent
        GET
    • Store
      • UpdateFavoriteStore
      • DeleteSportPratice
      • AddSportPratice
      • GetFavoriteStore
    • Purchase
      • GetPurchase
    • Profile
      • UpdateProfile
      • GetProfile
    • Login
      • RefreshToken
      • RefreshMemberToken
      • UserToken
    • User
      • UserDataCpf
      • UserDataCpf
  • Member Login
  • Service Checkout APP
    • Full Vtex
      • OrderForm
      • Items
      • Profile
      • Update Payment Data
      • Start Transaction
      • Send Payment Data
      • Proccess Order
    • APP
      • Cart
        • Get Or Create orderForm
        • Add Cart Items
        • Remove Cart Items
      • Profile
        • Check Guest checkout Eligibility
        • Guest Add Profile Data
        • Autenticated Profile
      • Shipping
        • Address
      • Payment
        • Guest Update Payment Method
        • Autenticated Update Payment Method
        • Guest Transaction
        • Autenticated Transaction
        • Send Payment Data
        • Process Order
      • Orderplaced
        • Autenticated OrderPlaced
        • Guest OrderPlaced
      • Shared
        • Clear orderForm Messages
        • Add Preference Data
        • Add Coupon
    • WEB
      • Create cart
      • Get cart
  • Service Omni
    • Orders
      • Get Orders
  • Service Events
    • List all events
      GET
  • Service app
    • Pix Email
      • Send Pix Email
  1. Consent

UpdateConsent

Testing Env
https://testing--decathlonstore.myvtex.com
Testing Env
https://testing--decathlonstore.myvtex.com
PATCH
/consent
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PATCH 'https://testing--decathlonstore.myvtex.com/consent' \
--header 'Content-Type: application/json' \
--data-raw '{
    "consents": {
        "purposes": [
            {
                "id": "mysports-RmzeVX4K",
                "enabled": true
            }
        ],
        "channels": [
            {
                "id": "email-5abRusEp",
                "enabled": false
            },
            {
                "id": "sms-bov8K0FR",
                "enabled": false
            },
            {
                "id": "social-f8tNI9LL",
                "enabled": false
            },
            {
                "id": "pushnotif-4fWL4sPx",
                "enabled": false
            }
        ]
    }
}'
Response Response Example
{}

Request

Body Params application/json
object {0}
Examples

Responses

🟢200OK
application/json
Body
object {0}
Previous
GetAddress
Next
GetConsent
Built with