This document outlines all the necessary details to interact with your store APIs
You will be able to find detailed documentation for the following Dukaan functionalities:
Each store for a seller will have a unique id which is required for certain endpoints to get store specific data, as a single seller can have multiple stores.
Format: Bearer {store_authentication_token}
Required for product-related operations. Can be obtained from product listing or search endpoints.
For more detailed information about specific endpoints and their usage, please refer to the respective sections in the documentation.
Store authentication token is required for accessing the Dukaan API endpoints
Each store for a seller will have a unique id which is required for certain endpoints to get store specific data, as a single seller can have multiple stores, making this key mandatory
Bearer {store_authentication_token}
Required for product-related operations, can be obtained from product listing or search endpoints
Visit web.mydukaan.io and select the settings tab
Navigate to developer settings
Click on generate an authentication token
headers: {
'authorization': 'Bearer {store_authentication_token}',
'authority': 'api.mydukaan.io'
}
Make sure to keep your authentication token secure and never expose it in client-side code.
All APIs related to Products and related product operations can be found under this collection.
Retrieve a list of products for a specific seller with support for ordering, pagination, and field selection.
https://api.mydukaan.io/api/seller-front//product-list/
| Key | Accepted Value |
|---|---|
| page | value of the page |
| ordering | created_at, modified_at |
| page_size | 1-99 (max 99 results per page) |
| pop_fields | variants_data |
curl --location -g 'https://api.mydukaan.io/api/seller-front//product-list/?ordering=-created_at&page=1&page_size=30&pop_fields=variants_data' \
--header 'authority: api.mydukaan.io' \
--header 'authorization: Bearer