Customers
Create customer
Changed onpost/api/v1/customers
Request
- The document declares no server URL.
- AuthHTTP bearer
Request body
Example request
{
"billing_address": {
"country": "US"
},
"currency": "EUR",
"invoicing_entity_id": "ive_7n42DGM5Tflk9n8mt7Fhc7",
"shipping_address": {
"address": {
"country": "US"
}
}
}Response
Customer successfully created
Example response
{
"billing_address": {
"country": "US"
},
"currency": "EUR",
"id": "cus_7n42DGM5Tflk9n8mt7Fhc7",
"invoicing_entity_id": "ive_7n42DGM5Tflk9n8mt7Fhc7",
"shipping_address": {
"address": {
"country": "US"
}
}
}Changes
- info
added the new optional request property
- info
- warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - warning
added the new
TOO_MANY_REQUESTSenum value to theresponse property for the response status - info
added the new optional request property
- info
added the non-success response with the status
- info
added the optional property
to the response with the status
- warning