Skip to main content
PUT
Update the all-access pass
Creates or updates the store’s all-access pass. The period is fixed at 30 days. Turning the pass on (enabled: true) needs a price above 0, otherwise the call returns 400 with Set a price above 0 to turn the pass on. Only the fields you send change. Requires the WRITE_INVENTORY scope.
These endpoints only work on a store whose type is digital. On any other store they return 403 with This is only available on digital stores. See Digital stores.

Authorizations

Authorization
string
header
required

Installed-app access token (prefix app_), issued by the OAuth install flow. The store is bound to the token server-side , never send a shop id.

Body

application/json
enabled
boolean
required

Turn the pass on or off.

name
string

Max 80 characters.

description
string

Max 1,000 characters.

price
number

Price for 30 days in the store currency. Above 0 when enabled is true.

Required range: x >= 0

Response

Update the all-access pass: success.

status
integer
required
Example:

200

success
boolean
required
Example:

true

message
string
required
Example:

"All-access pass saved successfully"

data
object
required
Example: