curl --request PATCH \
--url https://api.example.com/api/v1/customers/{id_or_alias} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"alias": "<string>",
"billing_address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
},
"billing_email": "<string>",
"currency": "EUR",
"custom_taxes": [
{
"name": "<string>",
"rate": "<string>",
"tax_code": "<string>"
}
],
"invoicing_emails": [
"<string>"
],
"invoicing_entity_id": "ive_7n42DGM5Tflk9n8mt7Fhc7",
"is_tax_exempt": true,
"name": "<string>",
"phone": "<string>",
"shipping_address": {
"same_as_billing": true,
"address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
}
},
"vat_number": "<string>"
}
'{
"currency": "AED",
"custom_taxes": [
{
"name": "<string>",
"rate": "<string>",
"tax_code": "<string>"
}
],
"id": "<string>",
"invoicing_emails": [
"<string>"
],
"invoicing_entity_id": "<string>",
"name": "<string>",
"alias": "<string>",
"billing_address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
},
"billing_email": "<string>",
"phone": "<string>",
"shipping_address": {
"same_as_billing": true,
"address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
}
},
"vat_number": "<string>"
}Partially update a customer. Only provided fields will be updated.
curl --request PATCH \
--url https://api.example.com/api/v1/customers/{id_or_alias} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"alias": "<string>",
"billing_address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
},
"billing_email": "<string>",
"currency": "EUR",
"custom_taxes": [
{
"name": "<string>",
"rate": "<string>",
"tax_code": "<string>"
}
],
"invoicing_emails": [
"<string>"
],
"invoicing_entity_id": "ive_7n42DGM5Tflk9n8mt7Fhc7",
"is_tax_exempt": true,
"name": "<string>",
"phone": "<string>",
"shipping_address": {
"same_as_billing": true,
"address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
}
},
"vat_number": "<string>"
}
'{
"currency": "AED",
"custom_taxes": [
{
"name": "<string>",
"rate": "<string>",
"tax_code": "<string>"
}
],
"id": "<string>",
"invoicing_emails": [
"<string>"
],
"invoicing_entity_id": "<string>",
"name": "<string>",
"alias": "<string>",
"billing_address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
},
"billing_email": "<string>",
"phone": "<string>",
"shipping_address": {
"same_as_billing": true,
"address": {
"city": "<string>",
"country": "US",
"line1": "<string>",
"line2": "<string>",
"state": "<string>",
"zip_code": "<string>"
}
},
"vat_number": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
customer ID or alias
Show child attributes
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNH, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VES, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW, ZWL "EUR"
Show child attributes
"ive_7n42DGM5Tflk9n8mt7Fhc7"
Show child attributes
Customer
AED, AFN, ALL, AMD, ANG, AOA, ARS, AUD, AWG, AZN, BAM, BBD, BDT, BGN, BHD, BIF, BMD, BND, BOB, BRL, BSD, BTN, BWP, BYN, BZD, CAD, CDF, CHF, CLP, CNH, CNY, COP, CRC, CUC, CUP, CVE, CZK, DJF, DKK, DOP, DZD, EGP, ERN, ETB, EUR, FJD, FKP, GBP, GEL, GHS, GIP, GMD, GNF, GTQ, GYD, HKD, HNL, HRK, HTG, HUF, IDR, ILS, INR, IQD, IRR, ISK, JMD, JOD, JPY, KES, KGS, KHR, KMF, KPW, KRW, KWD, KYD, KZT, LAK, LBP, LKR, LRD, LSL, LYD, MAD, MDL, MGA, MKD, MMK, MNT, MOP, MRU, MUR, MVR, MWK, MXN, MYR, MZN, NAD, NGN, NIO, NOK, NPR, NZD, OMR, PAB, PEN, PGK, PHP, PKR, PLN, PYG, QAR, RON, RSD, RUB, RWF, SAR, SBD, SCR, SDG, SEK, SGD, SHP, SLL, SOS, SRD, SSP, STD, STN, SVC, SYP, SZL, THB, TJS, TMT, TND, TOP, TRY, TTD, TWD, TZS, UAH, UGX, USD, UYU, UZS, VES, VND, VUV, WST, XAF, XCD, XOF, XPF, YER, ZAR, ZMW, ZWL "EUR"
Show child attributes
"cus_7n42DGM5Tflk9n8mt7Fhc7"
"ive_7n42DGM5Tflk9n8mt7Fhc7"
Show child attributes
Show child attributes