Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Rye API key

Body

application/json
url
string
required

Store or product URL to subscribe or unsubscribe.

Example:

"https://store.myshopify.com"

type
enum<string>
required

Scope of the subscription change.

Available options:
store,
product

Response

Product subscription

subscribed
boolean
required

Whether the resolved product is subscribed after the mutation.

url
string
required

Product subscription URL.

id
string
required

Product id.

type
enum<string>
required

Scope of the subscription change.

Available options:
product