π«Deal Codes
10%_OFF:
ABC1
ABC2
ABC3
BOGOF:
DEF1
DEF2
DEF3
2FOR1:
GHI1
GHI2
GHI3Get a paginated response of all deals
{
data: {
id: string;
active: boolean;
name: string;
description: string | null;
expires_at: string | null;
created_at: string;
updated_at: string;
cash_value_amount: number | null;
cash_value_currency: string | null;
days_code_valid_for: number | null;
voucher_codes_count: number;
}[];
links: {
first: string;
last: string;
prev: string | null;
next: string | null;
};
meta: {
current_page: number;
from: number;
last_page: number;
links: {
url: string | null;
label: string;
active: boolean;
}[];
path: string;
per_page: number;
to: number;
total: number;
};
}Create a new deal
Request Body
Name
Type
Description
Search for a code
Query Parameters
Name
Type
Description
Revoke a code
Query Parameters
Name
Type
Description
Last updated
Was this helpful?

