Skip to main content
POST
Node.js

Authorizations

Authorization
string
header
required

A buyer's token, from Sign in with the code: Authorization: Bearer shoply_ct_.... It reaches that buyer's own orders at one store, and no route that takes a key.

Path Parameters

storeId
string
required

The store's ID, from Settings, General in its dashboard. It is not a secret: a page may show it.

subscriptionId
string
required

One of the buyer's subscriptions, from List subscriptions.

Body

application/json
days
integer
required

How long, from 1 to the store's longest pause (pauseDays in meta).

Example:

14

Response

It worked.

success
boolean
message
unknown
code
unknown
data
object[]
meta
object