Create a customer
Changed onCreates a new customer.
If successful, your response includes a copy of the new customer entity.
Request
- Base URLhttps://sandbox-api.paddle.com
- AuthHTTP bearer
Request body
Example request
{
"id": "ctm_01grnn4zta5a1mf02jjze7y2ys",
"email": "test@paddle.com",
"custom_data": {
"customer_reference_id": "abcd1234"
},
"import_meta": {
"external_id": "9b95b0b8-e10f-441a-862e-1936a6d818ab",
"imported_from": "paddle_classic"
}
}Response
The request has succeeded and a new resource has been created as a result.
Example response
{
"data": {
"id": "ctm_01grnn4zta5a1mf02jjze7y2ys",
"email": "test@paddle.com",
"custom_data": {
"customer_reference_id": "abcd1234"
},
"created_at": "2024-10-12T07:20:50.52Z",
"updated_at": "2024-10-13T07:20:50.52Z",
"import_meta": {
"external_id": "9b95b0b8-e10f-441a-862e-1936a6d818ab",
"imported_from": "paddle_classic"
}
},
"meta": {
"request_id": "b15ec92e-8688-40d4-a04d-f44cbec93355"
}
}Changes
- breaking
request body became required
- breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
removed
subschema #2from therequest propertyoneOflist - breaking
removed
subschema #2from therequest propertyoneOflist - breaking
removed
subschema #2from therequest propertyoneOflist - breaking
the
request property type changed fromstringto no type, and format fromemailto no format - breaking
the
/response property's maxLength was unset from320for the response status - breaking
the
/response property's minLength was decreased from1to0for the response status - breaking
the
/response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
/response's property type changed fromstringto no type, and format fromemailto no format for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type for status - breaking
the
/response's property type changed fromstringto no type, and format fromdate-timeto no format for status - breaking
the
response's property type changed fromobjectto no type for status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - breaking
removed the required property
/from the response with the status - warning
removed the optional property
/from the response with the status - info
the request optional property
became not read-only - info
the request optional property
became not read-only - info
added
subschema #2to therequest propertyanyOflist - info
added
subschema #2to therequest propertyanyOflist - info
added
subschema #2to therequest propertyanyOflist - info
the
request property's minLength was decreased from1to0 - info
removed the pattern
^ctm_[a-z\d]{26}$from the request property - info
the response optional property
/became not read-only for the status - info
the response optional property
/became not read-only for the status - info
added to the
response propertyallOflist for the response status - info
added to the
/response propertyallOflist for the response status - info
added to the
/response propertyallOflist for the response status - info
added to the
/response propertyallOflist for the response status - info
added to the
/response propertyallOflist for the response status - info
added to the
/response propertyallOflist for the response status - info
added
subschema #2to the/response propertyanyOflist for the response status - info
added
subschema #2to the/response propertyanyOflist for the response status - info
added
subschema #2to the/response propertyanyOflist for the response status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
/became required for the status - info
the response property
became required for the status - info
the response property
became required for the status - info
removed the
activeenum value from the/response property for the response status - info
removed the
archivedenum value from the/response property for the response status - info
removed
subschema #2from the/response propertyoneOflist for the response status - info
removed
subschema #2from the/response propertyoneOflist for the response status - info
removed
subschema #2from the/response propertyoneOflist for the response status - info
the
/response's property pattern^ctm_[a-z\d]{26}$was removed for the status
- breaking
- breaking
the
request property's maxLength was decreased to320 - breaking
the
request property's minLength was increased from0to1
- breaking