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",

    "LanguageId": "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",

    "LanguageId": "1",

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

    "Message":null

}
Response :
{

    "Status": 1,

    "Message": "Success",

    "Data": {

        "CustomerGUID": "beacd49b-ae96-4ca5-b54b-55f0f9386282",

        "StoreId": 1,

        "ProductIds": [

            17,

            1,

            2

        ],

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

        "LanguageId": 1,

        "ApiSecretKey": "z97j109s119w108r106x109x114p109"

    },

    "ValidationMessage": [],

    "ErrorMessage": null

}