You are viewing an old version of this page. View the current version.
Compare with Current View Page History
« Previous Version 11 Next »
The method allows getting all existing lists of promo codes.
Name
Description
HTTP status code
The request was successful.
The API returns an array of category objects. Below are the properties of a single object.
The ID of the Promo Code list
The name of the Promo Code list
curl 'https://api.personaclick.com/promo_codes?shop_id=0d42fd8b713d0752776ca589cc0056&shop_secret=0123456789abcdef0123456789abcdef'
The method allows uploading promo codes to the specified list.
The response is JSON type with the following properties:
Current status. Can have one of two values:
The text of the error if it occurred
curl 'https://api.personaclick.com/promo_codes' \ -X 'POST' \ -H 'content-type: application/json' \ -d '{"shop_id":"0d42fd8b713d0752776ca589cc0056","shop_secret":"0123456789abcdef0123456789abcdef","id":100500,"codes":["code1","code2","codeN"]}'
The method gives the next promo code from the requested list of promo codes.
The next promo code on the list.
curl 'https://api.personaclick.com/promo_codes/fetch?shop_id=0d42fd8b713d0752776ca589cc0056&id=100500'
Page Navigation
Related Pages