User Tools

Site Tools


api:customer:billing-customer-add

API : Billing Customer Add

Introduction

This request will add a new billing customer to a customer.

Request

URL https://api.telecomx.dk/customer/CUSTOMER_ID/billingcustomer/BILLING_CUSTOMER_ID
Method POST
Access level ADMIN.
Param CUSTOMER_ID Id of customer (24 hex-char string).
BILLING_CUSTOMER_ID Id of billing customer (24 hex-char string).

Response

The response will be the newly created address, if no errors occurred.

Json object
success Boolean Indicates whether the billing customer was successfully added or not

Note that properties holding no value may be omitted from the object.

Example

{
  success: true
}

Errors

Error code Message Description
404 customer Customer not found
404 billing_customer Billing customer not found
403 access_denied Insufficient access level
422 multiple Multiple errors (the inner property holds an array of errors this request generated, which can be any of the errors below)
500 internal_error <Unspecified>
api/customer/billing-customer-add.txt · Last modified: 2021/03/11 08:12 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki