Create Subscription

POST /order/client/tieup/subscription-creation-new

curl --location '{{url}}/order/client/tieup/subscription-creation-new' \
--header 'key-id: {{client_secret_code}}' \
--header 'Content-Type: application/json' \
--header 'Authorization: {{auth_token}}' \
--data '{
    "clientId": "{{client_id}}",
    "customerName": "Dinesh Parmar",
    "customerMobileNo": "0000000000", 
    "vehicleId": 909,
    "vehicle": "Bajaj-Platina",
    "vehicleChassisNo": "******SHFKFD9834YJKD",
    "vehicleRegNo": "KA*******",
    "sellerId": 1,
    "planId": 3,
    "purchaseThrough": "credit"
}'

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

key-id

{{client_secret_code}}

Body

Name
Type
Description

clientId

string

Unique client ID generated while onboarding. Please ask your RM incase you have not received it.

customerName

string

Full name of the customer

customerMobileNo

string

10 digit valid mobile number of the customer

vehicleId

number

Vehicle ID received from Get Vehicle List API.

vehicle

string

Ex: Bajaj-Platina [Make-Model]. Make and Model should be differentiated by - .

vehicleChassisNo

string

Chassis number of the vehicle (Note: Either Chassis No or Registration No. is mandatory)

vehicleRegNo

string

Registration number of the vehicle (Note: Either Chassis No or Registration No. is mandatory)

sellerId

number

Received from ReadyAssist based on the business engagement. Please ask your RM incase you have not received it.

planId

number

Subscription Plan ID received from Get Plan List API.

purchaseThrough

string

Received from ReadyAssist based on the business engagement. Please ask your RM incase you have not received it.

Response


Last updated