v1
latestOpenAPI 3.0.02026-07-2671142187.3 KBCustomer
Set customer card as default
patch/customers/{customerId}/cards/{cardId}/default
Path parameters
customerIdinteger required
The ID of the customer
cardIdinteger required
The ID of the card
Response
Successful
Example response
[
{
"id": 2488717,
"customerCode": "CST1200",
"businessName": "Best company",
"contactName": "John Smith",
"cellPhone": "908-295-4902",
"billingAddress": {
"name": "John Smith/Helcim",
"street1": "123 Street",
"city": "Calgary",
"province": "AB",
"country": "CAN",
"postalCode": "H0H0H0",
"phone": "1234567890",
"email": "john@example.com"
},
"shippingAddress": {
"name": "John Smith/Helcim",
"street1": "123 Street",
"city": "Calgary",
"province": "AB",
"country": "CAN",
"postalCode": "H0H0H0",
"phone": "1234567890",
"email": "john@example.com"
},
"cards": [
{
"cardHolderName": "John Smith",
"cardToken": "a1b2c3d4e5f6"
}
]
}
]