Jump to Content
API Endpoints
Log In
API Endpoints
Log In
API Endpoints
Find a promo code
Search
All
Pages
Start typing to search…
JUMP TO
Introduction
Authorization
API Limits
Client identification
Error codes
General information and terms
Sailplay API
Authorization
Generate access token
post
Customers
Create a customer
post
Retrieve customer information
get
Update customer data
post
Merge two customer records
post
Send SMS to the customer
post
Subscribe a customer
post
Unsubscribe a customer
post
Customer tags
Assign a tag
post
Delete a tag
post
Retrieve a list of customer tags
get
Customer variables
Set customer's variable
post
Retrieve a list of all variables
get
Delete a variable
post
Retrieve variable
get
Retrieve multiple variables
get
Customer attributes
Set an attribute value for the customer
post
Retrieve customer attribute values
get
Add value to array attribute
post
Remove value from array attribute
post
Retrieve full attributes list
get
Retrieve attribute values
get
Loyalty Points
Award or write off points
post
Transfer Points
post
Discounts
Calculate discounts
post
Retrieve promo campaign limits
get
Purchases
Create a purchase
post
Retrieve a purchase
get
Edit Purchase
post
Confirm a purchase
post
Delete a purchase
post
Restore a deleted purchase
post
Returns
Make a return
post
Cancel a return
post
Purchase attributes
Create an attribute
post
Delete attribute
post
Retrieve a list of attributes
get
Create an attribute value
post
Delete an attribute value
post
Retrieve a list of all attribute values
get
Promo codes
Retrieve a list of promo code groups
get
Find a promo code
get
Activate a promo code
post
Issue a promo code
post
Retrieve a list of customer promocodes
get
Products
Create a category
post
Edit category
post
Retrieve a list of categories
get
Create a product
post
Edit a product
post
Retrieve a list of products
get
Gifts
Create a gift
post
Edit a gift
post
Retrieve a list of all gifts
get
Redeem a gift
post
Delete a gift redemption
post
Edit a gift redemption
post
Other
Send an SMS with a random code
post
Powered by
Find a promo code
get
https://api.sailplay.io/api/v2/promocodes/search/
Language
Shell
Node
Ruby
PHP
Python
Response
Click
Try It!
to start a request and see the response here!