Skip to main content
POST
Create Customer relation

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
vayuParentCustomerId
string
required

Identifier of the parent customer in Vayu.

Pattern: ^[0-9a-fA-F]{24}$
vayuChildCustomerId
string
required

Identifier of the child customer in Vayu.

Pattern: ^[0-9a-fA-F]{24}$
relationType
enum<string>
default:accumulateUsage
required

Relation type between parent and child customer. Defaults to accumulateUsage.

Available options:
accumulateUsage,
accumulateCharges,
erpInvoiceSyncOnBehalfParent,
billToParent

Response

RequestSuccess

customerRelation
object
required