Anywyse Customer API (1.0.1)

Download OpenAPI specification:Download

This documentation will help you get started using the Anywyse API. Authentication is done using the Client Credential grant. Email us

Get an Access Token for use in the other API calls

This is the first call you will make to the API, the return will be an access_token that you will use in all subsequent calls

Authorizations:
application

Responses

Retreive a signed embeddable link

Use this API call to retreive a signed link that can either be used in its own window or embedded in to an iFrame

path Parameters
product_id
required
integer

The product ID that is linked to the series

query Parameters
access_token
required
any

An access token from the Anywyse API

Responses

Create a coupon for redemption of a paid product

This operation allows the user to initialize a coupon that can be redeemed for a product that has a price associated with it

Authorizations:
bearerAuth
Request Body schema: application/application-json
required
code
required
string

The string users will use to redeem a product

percentage
integer
Default: 100

The percentage discount from 0 - 100

product
required
integer

The product ID for the discount to be applied to

max_redemptions
integer
Default: 1

The number of times this coupon can be used

expires
integer

Datetime when this coupon expires, leave empty for no expiration

Responses

Request samples

Content type
application/application-json
{
  • "code": "string",
  • "percentage": 100,
  • "product": 0,
  • "max_redemptions": 1,
  • "expires": 0
}