Follow the question structure recommended by Dev Bot before submitting your integration questions.
idVoucher.| Parameter | Type | Required | Description |
|---|---|---|---|
| idVoucher | int32 | Yes | Unique identifier of the voucher used as a filter to return its associated codes. |
| Parameter | Type | Required | Description |
|---|---|---|---|
| take | int32 | No | Number of records to be returned (maximum 50). Default: 25. |
| skip | int32 | No | Number of records to be ignored in the listing (pagination). Default: 0. |
| Field | Type | Description |
|---|---|---|
| quantity | int32 | Total quantity of voucher codes found for the specified idVoucher. |
| list | array | List of voucher codes returned in a paginated manner. See more below. |
list Object#| Field | Type | Description |
|---|---|---|
| voucherId | int32 | Identifier of the voucher to which the code belongs. |
| voucherCode | string | Individual code of the voucher generated and available for use. |
username:passwordAuthorization: Basic *****************curl --location 'https://evo-integracao-api.w12app.com.br/api/v1/voucher/get-codes-by-voucher-id/?skip=undefined&take=undefined' \
--header 'Authorization: Basic <encoded-value>'{
"quantity": 0,
"list": [
{
"voucherId": 0,
"voucherCode": "string"
}
]
}