Skip to main content

Assign a billing ID

To getassign thea customerbilling_id informationto fromTicaga, Ticaga:you need to post their Ticaga ID and their Billing System ID:

URL: https://yourdomain.com/api/customers/get/{id}assign

Type: GETPOST

{
  "user": {
    "id": 1,
    "name": "Joe Doe",
    "email": "joedoe@example.com",
    "email_verified_at": null,
    "company": "Demo Ltd",
    "phone_number": "",
    "billing_id": "0",
    "billing_system": "",
    "account_manager": "0",
    "biography": "",
    "created_at": "2025-07-13T17:15:25.000000Z",
    "updated_at": "2025-07-13T17:22:37.000000Z"
  }
}-

id:ticaga_id: Ticaga's customer ID.

billing_id: The billing system customer ID.

billing_system: The billing system name supported by Ticaga Enum.

 

If the customer doesn't exist, you get this error:

{
  "error": "User not authenticated"
}