Description | Getting permission list |
Request Path | {{base_url}}/stores/terminal-permissions/ |
Method | Get |
Usage
This method is called for getting all permissions for terminals.
Request Parameters
Parameter | Data Type | Position | Required | Description |
Authorization | String | Header | Yes | Used retrieving token in a header: Authorization: JWT {token} |
Response Parameters
Parameter | Description | Nullable |
count | Number of permissions | Yes |
next | Next permission | Yes |
previous | Previous permission | Yes |
results | permission | Yes |
is_enable | Is the card enabled or not | No |
product_detail | Details of product | No |
id | Product id | No |
brand | Brand id | No |
brand _name | Name of the brand | No |
name | Name of product | No |
logo | Product logo | No |
Card_type | Type of card 0 or 1 or 2 | No |
card_type_display | Showing type of product | No |
product_type | Type of product : 0 or 1 | No |
product_type_display | Showing type of product:physical or digital | No |
min _price | Minimum amount of product | No |
max_price | Maximum amount of product | No |
is_enable | Is the product enabled or not | No |
sku | SKU | No |
currency_detail | Detail of currency | No |
title | Title of currency | No |
abbr | Abbreviation of currency | No |
symbol | Symbol of currency | No |
iso_code | An unique number of currency | No |