Skip to content

Command: customer.generateCustomerNumberByPrefix

Back to Index

Generates a customer number for a customer based on the given prefix

Body
prefixstring

Examples

Create new Customer with custom customer number
POST https://<hantera-hostname>/resources/actors/customer/new
Authorization: Bearer <YOUR TOKEN>
Content-Type: application/json
[{
"type": "create",
"body": {
"commands": [{
"type": "generatePaymentNumberByPrefix",
"prefix": "B2C"
}
]
}
}]
Back to Index