ops
ops-end-customers
Create an end customer
Changed onCreate a new end customer (for Ops)
post/ops/end-customers
Request
- Base URLhttps://api.topi-staging.eu
- URLhttps://api.topi-staging.eu/ops/end-customers
- AuthOAuth 2Authorization code: /oauth2/authorizeToken URL: /oauth2/token scopes: ops-end-customer:edit
Request body
Example request
{
"billing_address": {
"city": "aaa",
"country_code": "DE",
"line1": "aaa",
"line2": "aaa",
"postal_code": "aaa",
"region": "aaa"
},
"company_registration_number": "abc123",
"currency": "abc123",
"email_domain": "abc123",
"group": "abc123",
"name": "abc123",
"tax_number": "abc123",
"vat_number": "abc123"
}Response
Created response.
Example response
{
"billing_address": {
"city": "aaa",
"country_code": "DE",
"line1": "aaa",
"line2": "aaa",
"postal_code": "aaa",
"region": "aaa"
},
"company_address": {
"city": "aaa",
"country_code": "DE",
"line1": "aaa",
"line2": "aaa",
"postal_code": "aaa",
"region": "aaa"
},
"company_registration_number": "abc123",
"email_domain": "abc123",
"group": "abc123",
"id": "739b63c2-9e58-4964-b38d-4ebb424de242",
"in_migration": false,
"is_new": false,
"language": "abc123",
"name": "abc123",
"not_vat_registered": false,
"risk_status": "abc123",
"tax_number": "abc123",
"type": "Partnership",
"vat_number": "abc123"
}Changes
- warning
the
/request property's maxLength was set to255 - warning
the
/request property's maxLength was set to255 - warning
the
/request property's maxLength was set to255 - warning
the
/request property's maxLength was set to255 - warning
the
/request property's maxLength was set to255
- warning
- info
api operation id
end_customer.createEndCustomerOpsremoved and replaced withend_customer#createEndCustomerOps
- info