biterp

Check customer subscription reference code availability

GET
/customer-subscriptions/reference-code-availability
AuthorizationBearer <token>

In: header

Query Parameters

reference_code*string

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://api.biterp.ai/customer-subscriptions/reference-code-availability?reference_code=SUB-000001"
{
  "available": true
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}
{
  "status_code": 404,
  "message": "Customer not found",
  "error": "Not Found",
  "code": "CUSTOMER_NOT_FOUND"
}