Delink Customer

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

This API is used to Delink customer from Partner Program.

👍

Note

  • For detailed information about our APIs and for hands-on testing, refer documentation in API overview and step-by-step guide on making your first API call in Make your first API call.

Prerequisites

  • Authentication: Basic or OAuth credentials
  • Default access group

Resource information

URI/partnerProgram/deLinkCustomer
HTTP MethodPOST
PaginationNo
Batch supportNo
Rate limit informationNone

API endpoint example

https://eu.api.capillarytech.com/v2/partnerProgram/deLinkCustomer

Request body parameters

ParameterDatatypeDescription
deLinkCustomersarrayList of customers to be delinked
customerobjectCustomer details
  • mobile
integerCustomer's mobile number
deLinkFromPartnerProgramsarrayList of partner programs to delink from
  • partnerProgramName
stringName of the partner program where it will be linked from.
{
  "deLinkCustomers": [
    {
      "customer": {
        "mobile": 919800000000
      },
      "deLinkFromPartnerPrograms": [
        {
          "partnerProgramName": "1stProgram"
        },
        {
          "partnerProgramName": "p3e1"
        }
      ]
    }
  ]
}

Response Parameter

ParameterDescription
customersPartnerUpdatesList of customers with partner program updates
customerList of customer details
idUnique identifier for the customer.
mobileCustomer's unique mobile number
emailCustomer's unique email
externalIdCustomer's unique external ID
statusStatus of the customer retrieval
  • message
Message regarding customer retrieval
  • code
Status code
partnerProgramUpdatesList of partner program updates
partnerProgramNameName of the partner program
updateTypeType of update (e.g., UPGRADE)
updateStatusList of update status
  • status
Status of the update
  • message
Message regarding the update
  • code
Status code
warningsList of warnings (if any)
{
  "customersPartnerUpdates": [
    {
      "customer": {
        "id": 382741349,
        "mobile": "916215000000",
        "email": "[email protected]",
        "externalId": "X916215000000",
        "status": {
          "status": true,
          "message": "Customer successfully retrieved",
          "code": 1000
        }
      },
      "partnerProgramUpdates": [
        {
          "partnerProgramName": "1stProgram",
          "updateType": "UPGRADE",
          "updateStatus": {
            "status": true,
            "message": "Success",
            "code": 200
          }
        }
      ]
    }
  ],
  "warnings": []
}
Body Params
deLinkCustomers
object
Responses

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json