The Shop resource represents a store where users can purchase votes or subscriptions — including its packages, payment methods, currency, and button/template configuration. Master Shops share the same payload shape and provide reusable shop configuration across apps.
Sample payload
Shop APIs
Create Shop
POST /shops
Create a new shop. Use the sample payload as a guide for the request body.
Get all Shops
GET /shops
Retrieve all shops.
Get a single Shop
GET /shops/<shop_key>
Retrieve a single shop by its key.
Update Shop
PATCH /shops/<shop_key>
Update an existing shop. Include only the fields you want to change.
Delete Shop
DELETE /shops/<shop_key>
Delete a shop.
Master Shop APIs
Create Master Shop
POST /master_shops
Create a new master shop. Use the sample payload as a guide for the request body.
Get all Master Shops
GET /master_shops
Retrieve all master shops.
Get a single Master Shop
GET /master_shops/<shop_key>
Retrieve a single master shop by its key.
Unique key of the master shop.
Update Master Shop
PATCH /master_shops/<shop_key>
Update an existing master shop. Include only the fields you want to change.
Unique key of the master shop.
Delete Master Shop
DELETE /master_shops/<shop_key>
Delete a master shop.
Unique key of the master shop.