Request Parameters:


Subscribe Back in stock  using productIds.


URL: ../Api/Client/BackInStockSubscribe 


Header:

Content-Type:application/json


Required Parameters :  CustomerGUID, StoreId, PorductIds


Case-1. Exception Response :
Parameter:

{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

    "StoreId": "1",

    "ProductIds": null,

    "Message":null

}
Response :
{

    "Status": 2,

    "Message": "Invalid parameters.",

    "Data": null,

    "ValidationMessage": [

        "The ProductIds field is required."

    ],

    "ErrorMessage": null

}                


Case-2. Success Response :
Parameter:

{

    "ApiSecretKey":"i99b98d117m116a112o98k115c111",

    "CustomerGUID":"496DBB2A-F9EB-4522-A804-B108693B69CE",

    "StoreId": "1",

    "ProductIds": [17,1,2],

    "Message":null

}
Response :
{

    "Status": 1,

    "Message": "Success",

    "Data": {

        "CustomerGUID": "496dbb2a-f9eb-4522-a804-b108693b69ce",

        "StoreId": 1,

        "ProductIds": [

            17,

            1,

            2

        ],

        "Message": "Subscribed product(s) : [Apple iCam] successfully. Subscriptions are not allowed for this product [Build your own computer,Digital Storm VANQUISH 3 Custom Performance PC] product(s) are not applicable for subscription."

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}