A collection of endpoints for creating and managing storefronts
| Method |
HTTP |
Path |
Summary |
add_products |
POST |
/storefront/{id}/product |
Add Products to Storefront |
create |
POST |
/storefront |
Create Storefront |
delete |
DELETE |
/storefront/{id} |
Delete Storefront |
duplicate |
POST |
/storefront/{id}/duplicate |
Duplicate Storefront |
fetch |
GET |
/storefront/{id} |
Fetch Storefront |
fetch_orders |
GET |
/storefront/{id}/order |
Fetch Storefront Orders |
list |
GET |
/storefront |
List Storefronts |
list_products |
GET |
/storefront/{id}/product |
List Storefront Products |
publish |
POST |
/storefront/{id}/publish |
Publish Storefront |
update |
PUT |
/storefront/{id} |
Update Storefront |
verify_slug |
GET |
/storefront/verify/{slug} |
Verify Storefront Slug |
HTTP: POST
Path: /storefront/{id}/product
paystack.storefront.add_products(id, { ... })
| Name |
Required |
products |
true |
HTTP: POST
Path: /storefront
paystack.storefront.create({ ... })
| Name |
Required |
name |
true |
slug |
true |
currency |
true |
description |
false |
HTTP: DELETE
Path: /storefront/{id}
paystack.storefront.delete(id)
HTTP: POST
Path: /storefront/{id}/duplicate
paystack.storefront.duplicate(id)
HTTP: GET
Path: /storefront/{id}
paystack.storefront.fetch(id)
HTTP: GET
Path: /storefront/{id}/order
paystack.storefront.fetch_orders(id)
HTTP: GET
Path: /storefront
paystack.storefront.list({ ... })
| Name |
Required |
perPage |
false |
page |
false |
status |
false |
HTTP: GET
Path: /storefront/{id}/product
paystack.storefront.list_products(id)
HTTP: POST
Path: /storefront/{id}/publish
paystack.storefront.publish(id)
HTTP: PUT
Path: /storefront/{id}
paystack.storefront.update(id, { ... })
| Name |
Required |
name |
false |
slug |
false |
description |
false |
HTTP: GET
Path: /storefront/verify/{slug}
paystack.storefront.verify_slug(slug)