Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Basic Details

Parameters used in all requests are described here.

Parameters

NameTypeRequirementDescription
shop_idstringrequiredUnique Store Key in PersonaClick. Located there: Account > Settings > Store Settings
shop_secretstringrequiredStore Secret Key in PersonaClick. Located there: Account > Settings > Store Settings


Checking the "Back in Stock" trigger subscription

Method Objective

The method allows checking the subscription status of the "Back in Stock" trigger.

Request

EndpointRequest Type
https://api.personaclick.com/products/check_product_available_subscriptionGET

Parameters

Note

Only parameters related to the profile update request are listed here. See "Basic Details" above for more information on required parameters and the API endpoint.


NameTypeRequirementDescription
item_idstring/numberrequiredProduct ID
emailstringOne of the available ones is requiredEmail for subscription checking
phonestringPhone for subscription checking
loyalty_idstringLoyalty ID for subscription checking

API response properties

NameTypeDescription
statusbooleanShows whether or not there is a trigger subscription for the product

Example of use

Code Block
languagejs
themeFadeToGrey
curl 'https://api.personaclick.com/products/check_product_available_subscription?email=john.doe%40examplemail.com&shop_id=0d42fd8b713d0752776ca589cc0056&shop_secret=0123456789abcdef0123456789abcdef&item_id=100500'


Checking the "Price Drop" trigger subscription

Method Objective

The method allows checking the subscription status of the "Price Drop" trigger.

Request

EndpointRequest Type
https://api.personaclick.com/products/check_price_drop_subscriptionGET

Parameters

Note

Only parameters related to the profile update request are listed here. See "Basic Details" above for more information on required parameters and the API endpoint.


NameTypeRequirementDescription
item_idstring/numberrequiredProduct ID
emailstringOne of the available ones is requiredEmail for subscription checking
phonestringPhone for subscription checking
loyalty_idstringLoyalty ID for subscription checking

API response properties

NameTypeDescription
statusbooleanShows whether or not there is a trigger subscription for the product

Example of use

Code Block
languagejs
themeFadeToGrey
curl 'https://api.personaclick.com/products/check_price_drop_subscription?email=john.doe%40examplemail.com&shop_id=0d42fd8b713d0752776ca589cc0056&shop_secret=0123456789abcdef0123456789abcdef&item_id=100500'


Table of Contents
maxLevel1
classpersonaclick-fixed-position