«
| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| X-Tenant | m26 |
|---|
| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| X-Tenant | m26 |
|---|
| code | name | description | member |
|---|---|---|---|
| clan_01 | AutoTest | Call API | member1 |
| code | clan | customerLimit | numberOfVoucher | discountType | formula | items | orderDiscount | title | description | validFrom | validTo |
|---|---|---|---|---|---|---|---|---|---|---|---|
| voucher01 | clan_01 | 1 | 1 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 10 | Dành tặng chị em nhân ngày 20.10 | 2024-09-25T03:02:41.586Z | 2024-10-25T03:02:41.586Z |
| X-Tenant | m26 |
|---|
[]| user | |
|---|---|
| member1 | |
| member3 |
| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
{
"title": "Bad Request",
"detail": "Required header 'X-Tenant' is not present."
}| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| X-Tenant | <header> |
|---|
[]| header | |
|---|---|
| linhtinh |
| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| X-Tenant | m26 |
|---|
[]| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| code | name | description |
|---|---|---|
| clan_02 | AutoTest | Call API |
| X-Tenant | m26 |
|---|
[]| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| code | name | description |
|---|---|---|
| clan_02 | AutoTest | Call API |
| code | clan | customerLimit | numberOfVoucher | discountType | formula | items | orderDiscount | title | description | validFrom | validTo |
|---|---|---|---|---|---|---|---|---|---|---|---|
| voucher01 | clan_01 | 1 | 1 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 10 | Dành tặng chị em nhân ngày 20.10 | A-3 | A-1 |
| voucher02 | clan_01 | 2 | 5 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 9 | A-1 | A+2 | |
| voucher03 | clan_01 | 2 | 5 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 11 | A+2 | A+5 | |
| voucher04 | clan_02 | 1 | 1 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 9 | A-1 | A+2 |
| X-Tenant | m26 |
|---|
[
{
"code": "${voucher01}",
"title": "Siêu sale tháng 10",
"description": "Dành tặng chị em nhân ngày 20.10",
"validFrom": "${A-3}",
"validTo": "${A-1}",
"customerLimit": 1,
"remaining": 1,
"numberOfVoucher": 1
},
{
"code": "${voucher02}",
"title": "Siêu sale tháng 9",
"description": null,
"validFrom": "${A-1}",
"validTo": "${A+2}",
"customerLimit": 2,
"remaining": 5,
"numberOfVoucher": 5
},
{
"code": "${voucher03}",
"title": "Siêu sale tháng 11",
"description": null,
"validFrom": "${A+2}",
"validTo": "${A+5}",
"customerLimit": 2,
"remaining": 5,
"numberOfVoucher": 5
}
]| field | condition | value |
|---|---|---|
| code | bằng | voucher04 |
| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| X-Tenant | m26 |
|---|
[]| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| code | clan | customerLimit | numberOfVoucher | discountType | formula | items | orderDiscount | title | description | validFrom | validTo |
|---|---|---|---|---|---|---|---|---|---|---|---|
| voucher01 | clan_01 | 1 | 1 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 10 | Dành tặng chị em nhân ngày 20.10 | 2024-09-25T03:02:41.586Z | 2024-10-25T03:02:41.586Z |
| voucher02 | clan_01 | 1 | 5 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 9 | 2024-09-01T03:02:41.586Z | 2024-09-30T03:02:41.586Z |
| X-Tenant | m26 |
|---|
| size | 1 |
|---|
| code | name | description |
|---|---|---|
| clan_01 | AutoTest | Call API |
| code | clan | customerLimit | numberOfVoucher | discountType | formula | items | orderDiscount | title | description | validFrom | validTo |
|---|---|---|---|---|---|---|---|---|---|---|---|
| voucher01 | clan_01 | 1 | 1 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 10 | Dành tặng chị em nhân ngày 20.10 | 2024-09-25T03:02:41.586Z | 2024-10-25T03:02:41.586Z |
| voucher02 | clan_01 | 1 | 5 | PERCENT | 10 | [{"fee": "shipping_fee"}] | {"maxValue": 5000,"discountLimit": 1000,"orderDiscountType": "totalValue"} | Siêu sale tháng 9 | 2024-09-01T03:02:41.586Z | 2024-09-30T03:02:41.586Z |
| X-Tenant | m26 |
|---|
| sort | <time>:<value> |
|---|
| field | <time> |
|---|---|
| direction | <value> |
| time | value | |
|---|---|---|
| validFrom | asc | |
| validFrom | desc | |
| validTo | asc | |
| validTo | desc |