- Acl
- Custom PG
- CSV Import
- Menu
- Notification
- Tax
- Themes
- Customer
- Wallet
- Loyality Points
- City
- Promo
- Order
- Search
- Marketplace
- Task
- Merchant
- Catalogue
- Business Categories
- Send SMS
- Admin
- Billing
- Project
- Discount
- Store Reviews
- checkout template
- Payment
add
POST
/open/tax/add
Name | Type | Description | |
---|---|---|---|
api_key | string | Your API-key | |
tax_type | number | 0-> percentage, 1-> fixed | |
tax_name | string | tax name | |
value | number | value | |
tax_applied_on | number | 0 = marketplace, 1 = product | |
user_id | number | user id | |
is_merchant_level_tax | number | is merchant level tax{ INDIVIDUAL: 1, MAPPING : 2, FOR_ALL : 0 } | |
merchant_ids | array | merchant_ids |
Request
Body Params application/json
object {0}
Example
{
"api_key" : {{apikey}},
"tax_type" : 1,
"tax_name" : "any",
"value" : 1,
"tax_applied_on" : 0,
"user_id" : 510001,
"is_merchant_level_tax": 0,
"merchant_ids" : [1]
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.yelo.red/open/tax/add' \
--header 'Content-Type: application/json' \
--data-raw '{
"api_key" : {{apikey}},
"tax_type" : 1,
"tax_name" : "any",
"value" : 1,
"tax_applied_on" : 0,
"user_id" : 510001,
"is_merchant_level_tax": 0,
"merchant_ids" : [1]
}'
Responses
🟢200Success
application/json
Body
object {0}
Example
{}
Modified at 2024-04-17 07:11:33