Toggle
Authorizations
Header parameters
cardHashintegerOptionalExample:
Card Hash
1234567890
Body
objectOptionalExample:
{"isDefault":true}
Responses
200
Successful response
application/json
post
POST /V2/customer/card/toggle HTTP/1.1
Host: beta.magento.pixiedia.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 18
{
"isDefault": true
}
200
Successful response
No content