Download OpenAPI specification:
This is full API documentation of BluAi admin API.
Generate a new authentication token and invalidate the current one
| refresh_token required | string |
| refresh_token required | string Refresh token for local storage on frontend |
{- "refresh_token": "string"
}{- "data": {
- "token": "string",
- "refresh_token": "string",
- "message": "string",
- "expires": 0
}
}Send reset password link to the specified email
| email required | string account email identifier |
{- "email": "string"
}{- "data": {
- "message": "Password reset token has been sent to your email"
}
}Reset the password to a new one by using the token sent via the email link
| token required | string token sent via the email link |
| password required | string <password> the new password |
{- "token": "string",
- "password": "pa$$word"
}{- "data": {
- "token": "string",
- "refresh_token": "string",
- "message": "string",
- "expires": 0
}
}Handles the callback from the OAuth provider after successful user authentication, and returns access/refresh tokens.
| provider required | string Value: "microsoft" Example: microsoft The OAuth provider that handled the authentication. |
| code required | string The authorization code returned by the provider. |
| state required | string The state parameter for CSRF protection. |
{- "data": {
- "token": "string",
- "refresh_token": "string",
- "message": "string",
- "expires": 0
}
}Sometimes you may need to get flow by access token
| X-Flow-Token | string |
{- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Creates new admin auth flow with access token which can be used to go over flow's steps
| login required | string admin account login identifier |
| password required | string <password> password |
{- "login": "string",
- "password": "pa$$word"
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Choose auth method between Google 2FA or email OTP as a flow step
| X-Flow-Token | string |
| method required | integer 1 - Google 2FA, 2 - OTP |
{- "method": 0
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Provide verification TOTP code from authenticator app
| X-Flow-Token | string |
| code required | string TOTP code from authenticator app |
{- "code": "string"
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Send OTP(One Time Password) to mobile. First endpoint for "otp" flow step type
| X-Flow-Token | string |
{- "otp_token": "string",
- "otp_attempts": "string",
- "otp_token_expired_in_sec": "string",
- "otp_template": "login"
}Verify OTP(One Time Password). You should use otp_token provided by send otp action. Second endpoint for "otp" flow step type
| X-Flow-Token | string |
| otp_token required | string Otp token provided by send otp action |
| otp_value | string |
{- "otp_token": "string",
- "otp_value": "string"
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}reset_auth_method
| admin_id required | string |
{- "data": {
- "id": 1,
- "status": "active",
- "parent_id": null,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": null,
- "last_name": "string",
- "profile_image_id": 1,
- "email": "user@example.com",
- "country_id": 1,
- "area_id": 1,
- "city_id": 1,
- "address_1": "31 avenue",
- "address_2": null,
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1",
- "has_access_to_all_partners": true,
- "login_methods": [
- "credentials",
- "oauth"
], - "can_edit_login_method": true
}
}Send reset password link to the specified admin
| adminId required | integer admin id |
{- "adminId": 0
}{- "data": {
- "message": "Password reset token sent successfully."
}
}Cards validate authentication
| jwt required | string JWT token |
{- "jwt": "string"
}{- "status": "REDIRECT",
- "jwt": "string",
- "acs_url": "string",
- "pa_req": "string",
- "transaction_id": "string"
}Cards enrollment lookup
| jwt required | string JWT token |
| credit_card_number required | string <= 16 characters |
| expiration_month required | integer [ 1 .. 12 ] |
| expiration_year required | integer |
| first_name | string |
| last_name | string |
string |
{- "jwt": "string",
- "credit_card_number": "string",
- "expiration_month": 1,
- "expiration_year": 0,
- "first_name": "string",
- "last_name": "string",
- "email": "string"
}{- "status": "REDIRECT",
- "jwt": "string",
- "acs_url": "string",
- "pa_req": "string",
- "transaction_id": "string"
}{- "data": [
- {
- "id": "string",
- "image_url": "string",
- "first_name": "string",
- "last_name": "string",
- "middle_name": "string",
- "permissions": [ ],
- "login_methods": [ ],
- "timezone": "Asia/Kuwait"
}
]
}Change password of authenticated admin by old password
| old_password | string <password> Old password |
| new_password | string <password> New password |
{- "old_password": "string",
- "new_password": "string"
}{- "data": {
- "token": "string",
- "refresh_token": "string",
- "message": "string",
- "expires": 0
}
}Get a paginated list of admins filtered by defined criteria
| page | integer <int64> Page number |
| per_page | integer <int64> [ 1 .. 100 ] Number of records per page. Defaults to 15 when omitted. |
| partner_ids | Array of integers <int64> [ items <int64 > ] |
| role_ids | Array of integers <int64> [ items <int64 > ] |
| status | string Enum: "active" "inactive" "suspended" |
| search_phrase | string |
{- "data": [
- {
- "id": 1,
- "status": "active",
- "first_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1"
}
]
}Create a new admin
| status required | string Enum: "active" "inactive" "suspended" "closed" |
| parent_id | integer <int64> |
| title required | string Enum: "Mr." "Mrs." "Ms." "Prof." "Dr." "Gen." "Sen." "HRH." |
| first_name required | string |
| middle_name | string |
| last_name required | string |
| email required | string <email> |
| username | string |
| password | string <password> |
| country_id | integer <int64> |
| area_id | integer <int64> |
| city_id | integer <int64> |
| address_1 | string |
| address_2 | string |
| static_ip | string <ip> |
| profile_image_id | integer <int64> (image_id) the id of the image in the database |
| login_methods required | Array of strings Items Enum: "credentials" "oauth" |
{- "status": "active",
- "parent_id": 0,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "username": "string",
- "password": "pa$$word",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string",
- "static_ip": "127.0.0.1",
- "profile_image_id": 0,
- "login_methods": [
- "credentials",
- "oauth"
]
}{- "data": {
- "id": 1,
- "status": "active",
- "parent_id": null,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": null,
- "last_name": "string",
- "profile_image_id": 1,
- "email": "user@example.com",
- "country_id": 1,
- "area_id": 1,
- "city_id": 1,
- "address_1": "31 avenue",
- "address_2": null,
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1",
- "has_access_to_all_partners": true,
- "login_methods": [
- "credentials",
- "oauth"
], - "can_edit_login_method": true
}
}{- "data": {
- "id": 1,
- "status": "active",
- "parent_id": null,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": null,
- "last_name": "string",
- "profile_image_id": 1,
- "email": "user@example.com",
- "country_id": 1,
- "area_id": 1,
- "city_id": 1,
- "address_1": "31 avenue",
- "address_2": null,
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1",
- "has_access_to_all_partners": true,
- "login_methods": [
- "credentials",
- "oauth"
], - "can_edit_login_method": true
}
}Update a specific admin
| status required | string Enum: "active" "inactive" "suspended" "closed" |
| parent_id | integer <int64> |
| title required | string Enum: "Mr." "Mrs." "Ms." "Prof." "Dr." "Gen." "Sen." "HRH." |
| first_name required | string |
| middle_name | string |
| last_name required | string |
| email required | string <email> |
| username required | string |
| password | string <password> |
| country_id | integer <int64> |
| area_id | integer <int64> |
| city_id | integer <int64> |
| address_1 | string |
| address_2 | string |
| static_ip | string <ip> |
| profile_image_id | integer <int64> (image_id) the id of the image in the database |
| login_methods required | Array of strings Items Enum: "credentials" "oauth" |
{- "status": "active",
- "parent_id": 0,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "email": "user@example.com",
- "username": "string",
- "password": "pa$$word",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string",
- "static_ip": "127.0.0.1",
- "profile_image_id": 0,
- "login_methods": [
- "credentials",
- "oauth"
]
}{- "data": {
- "id": 1,
- "status": "active",
- "parent_id": null,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": null,
- "last_name": "string",
- "profile_image_id": 1,
- "email": "user@example.com",
- "country_id": 1,
- "area_id": 1,
- "city_id": 1,
- "address_1": "31 avenue",
- "address_2": null,
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1",
- "has_access_to_all_partners": true,
- "login_methods": [
- "credentials",
- "oauth"
], - "can_edit_login_method": true
}
}assign_admin_partner
| admin_id required | string |
| partner_id required | string Partner Id that you want attach to admin |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}assign_admin_type
| admin_id required | string |
| role_id required | string Role Id that you want attach to admin |
{- "role_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}reset_auth_method
| admin_id required | string |
{- "data": {
- "id": 1,
- "status": "active",
- "parent_id": null,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": null,
- "last_name": "string",
- "profile_image_id": 1,
- "email": "user@example.com",
- "country_id": 1,
- "area_id": 1,
- "city_id": 1,
- "address_1": "31 avenue",
- "address_2": null,
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1",
- "has_access_to_all_partners": true,
- "login_methods": [
- "credentials",
- "oauth"
], - "can_edit_login_method": true
}
}Send reset password link to the specified admin
| adminId required | integer admin id |
{- "adminId": 0
}{- "data": {
- "message": "Password reset token sent successfully."
}
}view_affiliates
| page | integer <int64> Page number |
| per_page | integer <int64> [ 1 .. 100 ] Number of records per page. Defaults to 15 when omitted. |
| partner_ids | Array of strings |
| country_ids | Array of strings |
| category_ids | Array of strings |
| status | string Enum: "enabled" "disabled" |
| search_phrase | string Search by |
| order_by | string Enum: "id_asc" "id_desc" "created_at_asc" "created_at_desc" order by id, created_at (Ascending, Descending) |
{- "data": [
- {
- "id": 1,
- "image_url": "string",
- "name": "string",
- "status": "active",
- "category_name": "string",
- "country_name": "string",
- "created_at": "2020-08-04 07:37:55"
}
]
}add_affiliates
| image_id | string |
| name required | string |
| description | string |
| contact_name | string |
| contact_email | string |
| contact_number | string |
| contact_website | string |
| address_1 | string |
| address_2 | string |
| country_id required | string |
| area_id | string |
| city_id | string |
| status required | string Enum: "enabled" "disabled" |
| category_id | string |
{- "image_id": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "status": "active",
- "category_id": "string"
}{- "data": {
- "id": "string",
- "image_url": "string",
- "ucid": "string",
- "created_at": "string",
- "image_id": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "status": "active",
- "category_id": "string"
}
}view_affiliates
| affiliate_id required | string |
{- "data": {
- "id": "string",
- "image_url": "string",
- "ucid": "string",
- "created_at": "string",
- "image_id": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "status": "active",
- "category_id": "string"
}
}edit_affiliates
| affiliate_id required | string |
| image_id | string |
| name required | string |
| description | string |
| contact_name | string |
| contact_email | string |
| contact_number | string |
| contact_website | string |
| address_1 | string |
| address_2 | string |
| country_id required | string |
| area_id | string |
| city_id | string |
| status required | string Enum: "enabled" "disabled" |
| category_id | string |
{- "image_id": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "status": "active",
- "category_id": "string"
}{- "data": {
- "id": "string",
- "image_url": "string",
- "ucid": "string",
- "created_at": "string",
- "image_id": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "status": "active",
- "category_id": "string"
}
}edit_affiliates
| affiliate_id required | string |
| partner_id required | string Partner Id that you want attach to affiliate |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| affiliate_ids | Array of arrays Filter by affiliates |
| associated_partner_ids | Array of arrays Filter by associated partners |
| contracted_partner_ids | Array of arrays Filter by contracted partners |
| category_ids | Array of arrays Filter by categories |
| is_enabled | string Enum: "0" "1" Filter by status |
| search_phrase | string |
| order_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Order by |
{- "data": [
- {
- "id": "string",
- "image_url": "string",
- "name": "string",
- "is_enabled": true,
- "is_visible": true,
- "affiliate_name": "string",
- "created_at": "string",
- "category_name": "string"
}
]
}| is_enabled required | boolean |
| is_visible required | boolean |
| name required | string |
| code required | string |
| website_url | string |
string | |
| affiliate_id required | integer |
| category_id required | integer |
| type required | integer Enum: 1 2 3 1 => Points Conversion, 2 => Miles Conversion, 3 => Amount Donated |
| integration_type required | integer Enum: 1 2 3 1 => Real-time Integration, 2 => Offline integration supporting handback file, 3 => Offline integration not supporting handback file |
| integration_code | string |
| provider_program_code | string |
| image_id | integer <int64> (image_id) the id of the image in the database |
object (config) |
{- "is_enabled": true,
- "is_visible": true,
- "name": "string",
- "code": "string",
- "website_url": "string",
- "email": "string",
- "affiliate_id": 0,
- "category_id": 0,
- "type": 1,
- "integration_type": 1,
- "integration_code": "string",
- "provider_program_code": "string",
- "image_id": 0,
- "config": {
- "membership_number": {
- "required": true,
- "validation_type": "numeric",
- "length": 0,
- "regex": "/^(?:(\\d{9}(\\d{3})?)|([a-zA-Z0-9]{11}([a-zA-Z0-9]{2})?))$/"
}, - "is_first_last_name_required": true,
- "is_mobile_number_required": true,
- "is_email_required": true,
- "currency_program_label": {
- "en": "Skywards Miles",
- "ar": "أميال سكاي واردز",
- "fr": "Miles Skywards"
}
}
}{- "data": {
- "id": "string",
- "is_enabled": true,
- "is_visible": true,
- "name": "string",
- "code": "string",
- "website_url": "string",
- "email": "string",
- "affiliate_id": 0,
- "category_id": 0,
- "integration_type": 0,
- "integration_code": "string",
- "provider_program_code": "string",
- "image_url": "string",
- "image_id": 0,
- "config": {
- "membership_number": {
- "required": true,
- "validation_type": "numeric",
- "length": 0,
- "regex": "/^(?:(\\d{9}(\\d{3})?)|([a-zA-Z0-9]{11}([a-zA-Z0-9]{2})?))$/"
}, - "is_first_last_name_required": true,
- "is_mobile_number_required": true,
- "is_email_required": true,
- "currency_program_label": {
- "en": "Skywards Miles",
- "ar": "أميال سكاي واردز",
- "fr": "Miles Skywards"
}
}, - "ucid": "string"
}
}| affiliate_program_id required | string |
{- "data": {
- "id": "string",
- "is_enabled": true,
- "is_visible": true,
- "name": "string",
- "code": "string",
- "website_url": "string",
- "email": "string",
- "affiliate_id": 0,
- "category_id": 0,
- "integration_type": 0,
- "integration_code": "string",
- "provider_program_code": "string",
- "image_url": "string",
- "image_id": 0,
- "config": {
- "membership_number": {
- "required": true,
- "validation_type": "numeric",
- "length": 0,
- "regex": "/^(?:(\\d{9}(\\d{3})?)|([a-zA-Z0-9]{11}([a-zA-Z0-9]{2})?))$/"
}, - "is_first_last_name_required": true,
- "is_mobile_number_required": true,
- "is_email_required": true,
- "currency_program_label": {
- "en": "Skywards Miles",
- "ar": "أميال سكاي واردز",
- "fr": "Miles Skywards"
}
}, - "ucid": "string"
}
}| affiliate_program_id required | string |
| is_enabled required | boolean |
| is_visible required | boolean |
| name required | string |
| code required | string |
| website_url | string |
string | |
| affiliate_id required | integer |
| category_id required | integer |
| type required | integer Enum: 1 2 3 1 => Points Conversion, 2 => Miles Conversion, 3 => Amount Donated |
| integration_type required | integer Enum: 1 2 3 1 => Real-time Integration, 2 => Offline integration supporting handback file, 3 => Offline integration not supporting handback file |
| integration_code | string |
| provider_program_code | string |
| image_id | integer <int64> (image_id) the id of the image in the database |
object (config) |
{- "is_enabled": true,
- "is_visible": true,
- "name": "string",
- "code": "string",
- "website_url": "string",
- "email": "string",
- "affiliate_id": 0,
- "category_id": 0,
- "type": 1,
- "integration_type": 1,
- "integration_code": "string",
- "provider_program_code": "string",
- "image_id": 0,
- "config": {
- "membership_number": {
- "required": true,
- "validation_type": "numeric",
- "length": 0,
- "regex": "/^(?:(\\d{9}(\\d{3})?)|([a-zA-Z0-9]{11}([a-zA-Z0-9]{2})?))$/"
}, - "is_first_last_name_required": true,
- "is_mobile_number_required": true,
- "is_email_required": true,
- "currency_program_label": {
- "en": "Skywards Miles",
- "ar": "أميال سكاي واردز",
- "fr": "Miles Skywards"
}
}
}{- "data": {
- "id": "string",
- "is_enabled": true,
- "is_visible": true,
- "name": "string",
- "code": "string",
- "website_url": "string",
- "email": "string",
- "affiliate_id": 0,
- "category_id": 0,
- "integration_type": 0,
- "integration_code": "string",
- "provider_program_code": "string",
- "image_url": "string",
- "image_id": 0,
- "config": {
- "membership_number": {
- "required": true,
- "validation_type": "numeric",
- "length": 0,
- "regex": "/^(?:(\\d{9}(\\d{3})?)|([a-zA-Z0-9]{11}([a-zA-Z0-9]{2})?))$/"
}, - "is_first_last_name_required": true,
- "is_mobile_number_required": true,
- "is_email_required": true,
- "currency_program_label": {
- "en": "Skywards Miles",
- "ar": "أميال سكاي واردز",
- "fr": "Miles Skywards"
}
}, - "ucid": "string"
}
}Get custom validation description based on program code and integration code
| program_code required | string program code |
| integration_code | string integration code |
{- "data": [
- {
- "description": "No validation has been detected at the program code level"
}
]
}| affiliate_program_id required | string |
| partner_id required | string Partner Id that you want attach to affiliate program |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}Get partner's redemption configuration for a specific affiliate program
| affiliate_program_id required | string |
| partner_id required | string |
{- "data": {
- "affiliate_program_id": "string",
- "partner_id": "string",
- "status": "enabled",
- "program_names": {
- "en": "string",
- "ar": "string"
}, - "program_descriptions": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": 0,
- "terms_and_conditions_url": "string",
- "points_values_options_type": "free",
- "currency_id": "string",
- "points_value_rate": "string",
- "points_rounding_type": "none",
- "minimum_points": "string",
- "maximum_points": "string",
- "predefined_points_values": [
- 50,
- 60
], - "range_start": "string",
- "range_end": "string",
- "range_multiple_of": "string",
- "calculation_rules": [
- {
- "type": "fixed_value",
- "points": 0,
- "calculated_value": 0
}
], - "membership_placeholders": {
- "en": "string",
- "ar": "string"
}, - "membership_specifications": {
- "en": "string",
- "ar": "string"
}, - "image_id": 0
}
}Create partner's redemption configuration for a specific affiliate program
| affiliate_program_id required | string |
| partner_id required | string |
| affiliate_program_id required | string |
| partner_id required | string |
| status required | string Enum: "enabled" "disabled" |
object | |
object | |
| is_terms_and_conditions_required | integer Enum: 0 1 |
| terms_and_conditions_url | string <url> |
| points_values_options_type required | string Enum: "free" "predefined" "range" |
| currency_id | string |
| points_value_rate | string |
| points_rounding_type | string Enum: "none" "up" "down" "default" |
| minimum_points | string |
| maximum_points | string |
| predefined_points_values | Array of arrays |
| range_start | string |
| range_end | string |
| range_multiple_of | string |
Array of objects | |
object | |
object | |
| image_id | integer |
{- "affiliate_program_id": "string",
- "partner_id": "string",
- "status": "enabled",
- "program_names": {
- "en": "string",
- "ar": "string"
}, - "program_descriptions": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": 0,
- "terms_and_conditions_url": "string",
- "points_values_options_type": "free",
- "currency_id": "string",
- "points_value_rate": "string",
- "points_rounding_type": "none",
- "minimum_points": "string",
- "maximum_points": "string",
- "predefined_points_values": [
- 50,
- 60
], - "range_start": "string",
- "range_end": "string",
- "range_multiple_of": "string",
- "calculation_rules": [
- {
- "type": "fixed_value",
- "points": 0,
- "calculated_value": 0
}
], - "membership_placeholders": {
- "en": "string",
- "ar": "string"
}, - "membership_specifications": {
- "en": "string",
- "ar": "string"
}, - "image_id": 0
}{- "data": {
- "affiliate_program_id": "string",
- "partner_id": "string",
- "status": "enabled",
- "program_names": {
- "en": "string",
- "ar": "string"
}, - "program_descriptions": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": 0,
- "terms_and_conditions_url": "string",
- "points_values_options_type": "free",
- "currency_id": "string",
- "points_value_rate": "string",
- "points_rounding_type": "none",
- "minimum_points": "string",
- "maximum_points": "string",
- "predefined_points_values": [
- 50,
- 60
], - "range_start": "string",
- "range_end": "string",
- "range_multiple_of": "string",
- "calculation_rules": [
- {
- "type": "fixed_value",
- "points": 0,
- "calculated_value": 0
}
], - "membership_placeholders": {
- "en": "string",
- "ar": "string"
}, - "membership_specifications": {
- "en": "string",
- "ar": "string"
}, - "image_id": 0
}
}Update partner's redemption configuration for a specific affiliate program
| affiliate_program_id required | string |
| partner_id required | string |
| affiliate_program_id required | string |
| partner_id required | string |
| status required | string Enum: "enabled" "disabled" |
object | |
object | |
| is_terms_and_conditions_required | integer Enum: 0 1 |
| terms_and_conditions_url | string <url> |
| points_values_options_type required | string Enum: "free" "predefined" "range" |
| currency_id | string |
| points_value_rate | string |
| points_rounding_type | string Enum: "none" "up" "down" "default" |
| minimum_points | string |
| maximum_points | string |
| predefined_points_values | Array of arrays |
| range_start | string |
| range_end | string |
| range_multiple_of | string |
Array of objects | |
object | |
object | |
| image_id | integer |
{- "affiliate_program_id": "string",
- "partner_id": "string",
- "status": "enabled",
- "program_names": {
- "en": "string",
- "ar": "string"
}, - "program_descriptions": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": 0,
- "terms_and_conditions_url": "string",
- "points_values_options_type": "free",
- "currency_id": "string",
- "points_value_rate": "string",
- "points_rounding_type": "none",
- "minimum_points": "string",
- "maximum_points": "string",
- "predefined_points_values": [
- 50,
- 60
], - "range_start": "string",
- "range_end": "string",
- "range_multiple_of": "string",
- "calculation_rules": [
- {
- "type": "fixed_value",
- "points": 0,
- "calculated_value": 0
}
], - "membership_placeholders": {
- "en": "string",
- "ar": "string"
}, - "membership_specifications": {
- "en": "string",
- "ar": "string"
}, - "image_id": 0
}{- "data": {
- "affiliate_program_id": "string",
- "partner_id": "string",
- "status": "enabled",
- "program_names": {
- "en": "string",
- "ar": "string"
}, - "program_descriptions": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": 0,
- "terms_and_conditions_url": "string",
- "points_values_options_type": "free",
- "currency_id": "string",
- "points_value_rate": "string",
- "points_rounding_type": "none",
- "minimum_points": "string",
- "maximum_points": "string",
- "predefined_points_values": [
- 50,
- 60
], - "range_start": "string",
- "range_end": "string",
- "range_multiple_of": "string",
- "calculation_rules": [
- {
- "type": "fixed_value",
- "points": 0,
- "calculated_value": 0
}
], - "membership_placeholders": {
- "en": "string",
- "ar": "string"
}, - "membership_specifications": {
- "en": "string",
- "ar": "string"
}, - "image_id": 0
}
}Get partner's marketplace configuration for a specific affiliate program
| affiliate_program_id required | string |
| partner_id required | string |
{- "data": {
- "program": {
- "enabled": true,
- "program_name_localizations": {
- "en": "string",
- "ar": "string"
}, - "program_description_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_placeholder_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_specification_localizations": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": true,
- "terms_and_conditions_url": "string",
- "image_id": 0,
- "image_url": "string"
}, - "reconciliation": {
- "affiliate_value_unit_monetary": {
- "amount": 0.1,
- "currency": "string"
}, - "markup_percentage": 0
}
}
}Create partner's marketplace configuration for a specific affiliate program
| affiliate_program_id required | string |
| partner_id required | string |
required | object (base-configurations) |
required | object (marketplace-reconciliation-config) |
{- "program": {
- "enabled": true,
- "program_name_localizations": {
- "en": "string",
- "ar": "string"
}, - "program_description_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_placeholder_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_specification_localizations": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": true,
- "terms_and_conditions_url": "string",
- "image_id": 0
}, - "reconciliation": {
- "affiliate_value_unit_monetary": {
- "amount": 0.1,
- "currency": "string"
}, - "markup_percentage": 0
}
}{- "data": {
- "program": {
- "enabled": true,
- "program_name_localizations": {
- "en": "string",
- "ar": "string"
}, - "program_description_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_placeholder_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_specification_localizations": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": true,
- "terms_and_conditions_url": "string",
- "image_id": 0,
- "image_url": "string"
}, - "reconciliation": {
- "affiliate_value_unit_monetary": {
- "amount": 0.1,
- "currency": "string"
}, - "markup_percentage": 0
}
}
}Update partner's marketplace configuration for a specific affiliate program
| affiliate_program_id required | string |
| partner_id required | string |
required | object (base-configurations) |
required | object (marketplace-reconciliation-config) |
{- "program": {
- "enabled": true,
- "program_name_localizations": {
- "en": "string",
- "ar": "string"
}, - "program_description_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_placeholder_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_specification_localizations": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": true,
- "terms_and_conditions_url": "string",
- "image_id": 0
}, - "reconciliation": {
- "affiliate_value_unit_monetary": {
- "amount": 0.1,
- "currency": "string"
}, - "markup_percentage": 0
}
}{- "data": {
- "program": {
- "enabled": true,
- "program_name_localizations": {
- "en": "string",
- "ar": "string"
}, - "program_description_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_placeholder_localizations": {
- "en": "string",
- "ar": "string"
}, - "membership_specification_localizations": {
- "en": "string",
- "ar": "string"
}, - "is_terms_and_conditions_required": true,
- "terms_and_conditions_url": "string",
- "image_id": 0,
- "image_url": "string"
}, - "reconciliation": {
- "affiliate_value_unit_monetary": {
- "amount": 0.1,
- "currency": "string"
}, - "markup_percentage": 0
}
}
}| affiliate_program_id required | integer |
| partner_id required | integer |
{- "data": [
- {
- "id": 1,
- "campaign_name": "Eid Promo 2026",
- "description": "Special Eid promotion",
- "bonus_type": {
- "value": "string",
- "description": "string"
}, - "bonus_value": 200,
- "minimum_points": 300,
- "start_date": "2026-06-01",
- "end_date": "2026-06-30",
- "enabled": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "links": {
}, - "meta": {
- "current_page": 3,
- "from": 31,
- "last_page": 10,
- "per_page": 15,
- "to": 45,
- "total": 150
}
}| affiliate_program_id required | integer |
| partner_id required | integer |
| campaign_name required | string <= 255 characters |
| description | string or null |
| bonus_type required | integer Enum: 1 2 1 fixed, 2 percentage |
| bonus_value required | integer >= 1 |
| minimum_points | integer or null >= 0 Required when bonus_type is 'fixed' |
| start_date required | string <date> |
| end_date required | string <date> Must be on or after start_date |
| enabled required | boolean |
{- "campaign_name": "Eid Promo 2026",
- "description": "Special Eid promotion",
- "bonus_type": "fixed",
- "bonus_value": 200,
- "minimum_points": 300,
- "start_date": "2026-06-01",
- "end_date": "2026-06-30",
- "enabled": true
}{- "data": {
- "id": 1,
- "campaign_name": "Eid Promo 2026",
- "description": "Special Eid promotion",
- "bonus_type": {
- "value": "string",
- "description": "string"
}, - "bonus_value": 200,
- "minimum_points": 300,
- "start_date": "2026-06-01",
- "end_date": "2026-06-30",
- "enabled": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| affiliate_program_id required | integer |
| partner_id required | integer |
| campaign_id required | integer |
{- "data": {
- "id": 1,
- "campaign_name": "Eid Promo 2026",
- "description": "Special Eid promotion",
- "bonus_type": {
- "value": "string",
- "description": "string"
}, - "bonus_value": 200,
- "minimum_points": 300,
- "start_date": "2026-06-01",
- "end_date": "2026-06-30",
- "enabled": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Updates bonus campaign fields based on campaign lifecycle state.
Always editable:
campaign_name, description, enabledEditable only before campaign starts (start_date > today):
start_date, bonus_value, minimum_points (for FIXED campaigns only)Editable until campaign expires (end_date >= today):
end_dateNever editable:
bonus_type (ignored if submitted)| affiliate_program_id required | integer |
| partner_id required | integer |
| campaign_id required | integer |
| campaign_name required | string <= 255 characters |
| description | string or null |
| enabled required | boolean |
| start_date | string or null <date> Only editable before the campaign starts (start_date > today). |
| end_date | string or null <date> Only editable until the campaign expires (end_date >= today). |
| bonus_value | integer or null Only editable before the campaign starts. For FIXED campaigns: fixed bonus points. For PERCENTAGE campaigns: percentage value (e.g., 20 for 20%). |
| minimum_points | integer or null Only applicable and editable for FIXED bonus campaigns before the campaign starts. |
{- "campaign_name": "Eid Promo 2026 - Updated",
- "description": "Updated description",
- "enabled": false
}{- "data": {
- "id": 1,
- "campaign_name": "Eid Promo 2026",
- "description": "Special Eid promotion",
- "bonus_type": {
- "value": "string",
- "description": "string"
}, - "bonus_value": 200,
- "minimum_points": 300,
- "start_date": "2026-06-01",
- "end_date": "2026-06-30",
- "enabled": true,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}view_members
| partner_ids | Array of arrays Filter by partner or multiple partners |
| country_ids | Array of arrays Filter by countries |
| segment_ids | Array of arrays Filter by segments |
| tier_ids | Array of arrays Filter by tiers |
| search | string Search by first name, last name, email or mobile number |
| reference | string Search by reference (with or without prefix) |
| partner_user_code | string Search by partner user code |
{- "data": [
- {
- "id": "string",
- "full_name": "string",
- "country_name": "string",
- "email": "string",
- "normalized_mobile": "string",
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
]
}
]
}create_members
| pin required | string 4 digit pin code |
| title | string Enum: "Mr." "Mrs." "Ms." "Prof." "Dr." "Gen." "Sen." "HRH." Member title |
| first_name required | string Member first name |
| middle_name | string Member middle name |
| last_name required | string Member last name |
| country_id | string Country id |
string Member email | |
| telephone_code required | string Member phone code |
| mobile required | string Member mobile number without code |
| image_id | string Member image id |
| marital_status | string Enum: "single" "married" "widowed" "divorced" "other" |
| gender required | string Enum: "m" "f" "o" "not selected" |
| lang_id | string Member language |
| dob | string Member birtdate |
| occupation_id | string Member occupation |
| income_bracket | string Enum: "$0 - $500" "$500 - $1,000" "$1,000 - $2,000" "$2,000 - $3,000" "$3,000 - $4,000" "$4,000 - $5,000" "$5,000 - $8,000" "$8,000 - $12,000" "$12,000 - $15,000" "More than $15,000" |
| num_children required | integer |
| company_name | string |
| tag | string Member tags |
| area_id | string |
| city_id | string |
| address_1 | string |
| address_2 | string |
Array of objects (memberSettingsInput) |
{- "pin": "string",
- "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "company_name": "string",
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}
]
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}edit_members
| member_id required | string |
| title | string Enum: "Mr." "Mrs." "Ms." "Prof." "Dr." "Gen." "Sen." "HRH." Member title |
| first_name | string Member first name |
| middle_name | string Member middle name |
| last_name | string Member last name |
| country_id | string Country id |
string Member email | |
| telephone_code | string Member phone code |
| mobile | string Member mobile number without code |
| image_id | string Member image id |
| marital_status | string Enum: "single" "married" "widowed" "divorced" "other" |
| gender | string Enum: "m" "f" "o" "not selected" |
| lang_id | string Member language |
| dob | string Member birtdate |
| occupation_id | string Member occupation |
| income_bracket | string Enum: "$0 - $500" "$500 - $1,000" "$1,000 - $2,000" "$2,000 - $3,000" "$3,000 - $4,000" "$4,000 - $5,000" "$5,000 - $8,000" "$8,000 - $12,000" "$12,000 - $15,000" "More than $15,000" |
| num_children | integer |
| company_name | string |
| tag | string Member tags |
| area_id | string |
| city_id | string |
| address_1 | string |
| address_2 | string |
Array of objects (memberSettingsInput) | |
| is_verified | boolean |
{- "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "company_name": "string",
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}
], - "is_verified": true
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}edit_members
| member_id required | string |
| partner_id required | string Partner Id that you want attach to member |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}edit_members
| member_id required | string |
| number required | string Reference number |
{- "number": "string"
}{- "data": {
- "id": "string",
- "number": "string"
}
}view_posted_transactions
| member_id required | string |
| id | string |
| start_date | string Example: start_date=2024-01-28 |
| end_date | string Example: end_date=2024-01-29 |
{- "data": [
- {
- "id": "string",
- "date": "2019-08-24",
- "description": "string",
- "partner_name": "string",
- "transaction_amount": {
- "amount": 0.1,
- "currency": "string"
}, - "billing_amount": {
- "amount": 0.1,
- "currency": "string"
}
}
]
}view_posted_transactions
| member_id required | string |
| id | string |
| start_date | string Example: start_date=2024-01-28 |
| end_date | string Example: end_date=2024-01-29 |
{- "data": [
- {
- "total_negative_transactions": 0,
- "total_negative_points": 0
}
]
}view_posted_transactions
{- "data": [
- {
- "transaction_date": "2019-08-24",
- "partner_name": "string",
- "mcc": "string",
- "mcc_description": "string",
- "country": "string",
- "product_name": "string",
- "pos_entry_mode": "string",
- "acquirer_bin": "string",
- "card_acceptor_id": "string",
- "partner_bin": "string",
- "transaction_amount": {
- "amount": 0.1,
- "currency": "string"
}, - "billing_amount": {
- "amount": 0.1,
- "currency": "string"
}
}
]
}Retrieves a list of affiliate user identifiers.
{- "data": [
- {
- "id": 0,
- "partner_id": 0,
- "partner_name": 0,
- "affiliate_program_id": 0,
- "affiliate_program_name": "string",
- "is_preferred": true,
- "identifier_value": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "mobile_number": "string"
}
]
}Creates a new affiliate user identifier.
| member_id | string Member ID |
| partner_id | integer |
| affiliate_program_id | integer |
| is_preferred | boolean |
| identifier_value | string |
| first_name | string |
| last_name | string |
string | |
| mobile_number | string |
{- "partner_id": 0,
- "affiliate_program_id": 0,
- "is_preferred": true,
- "identifier_value": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "mobile_number": "string"
}{- "id": 0,
- "partner_id": 0,
- "affiliate_program_id": 0,
- "is_preferred": true,
- "identifier_value": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "mobile_number": "string"
}Retrieves affiliate user identifier by ID.
| member_id | string Member ID |
| identifier_id | string Affiliate User Identifier ID |
{- "id": 0,
- "partner_id": 0,
- "affiliate_program_id": 0,
- "is_preferred": true,
- "identifier_value": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "mobile_number": "string"
}Update affiliate user identifier.
| member_id | string Member ID |
| identifier_id | string Affiliate User Identifier ID |
| is_preferred | boolean |
| identifier_value | string |
| first_name | string |
| last_name | string |
string | |
| mobile_number | string |
{- "is_preferred": true,
- "identifier_value": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "mobile_number": "string"
}{- "id": 0,
- "partner_id": 0,
- "affiliate_program_id": 0,
- "is_preferred": true,
- "identifier_value": "string",
- "first_name": "string",
- "last_name": "string",
- "email": "string",
- "mobile_number": "string"
}enroll_member_aco
| title | string Enum: "Mr." "Mrs." "Ms." Member title |
| first_name required | string Member first name |
| last_name required | string Member last name |
| partner_id required | string |
| email required | string Member email |
| telephone_code | string Member phone code |
| mobile required | string Member mobile number without code |
| lang_code | string Member language |
| occupation_id | string Member occupation |
| company_name | string |
| contract_expiry_date | string |
| client_confirmed required | boolean |
| privacy_policy_accepted required | boolean |
{- "title": "Mr.",
- "first_name": "string",
- "last_name": "string",
- "partner_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "lang_code": "string",
- "occupation_id": "string",
- "company_name": "string",
- "contract_expiry_date": "string",
- "client_confirmed": true,
- "privacy_policy_accepted": true
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}edit_aco_member
| member_id required | string |
| contract_expiry_date required | string Contract expiry date |
| membership_type required | string Enum: "Individual" "Group" Membership type |
{- "contract_expiry_date": "string",
- "membership_type": "Individual"
}{- "data": {
- "id": "string",
- "member_id": "string",
- "contract_expiry_date": "string",
- "membership_type": "Individual"
}
}view_aco_transactions
| member_id required | integer |
| search | string Search by ID, Store or Description |
| type | string Enum: "reward" "redemption" "expiry" |
| start_date | string Example: start_date=2020-01-28 |
| end_date | string Example: end_date=2020-01-29 |
{- "data": [
- {
- "id": 0,
- "partner_name": "string",
- "description": "string",
- "processing_date": "string",
- "booking_date": "string",
- "reservation_number": "string",
- "points_rewarded": 0,
- "total_amount": 0,
- "currency_code": "string",
- "reversed_transaction_id": 0,
- "action": 0,
- "type": "reward"
}
]
}view_aco_transactions
| member_id required | integer |
| transaction_id required | integer |
{- "data": {
- "id": 0,
- "booking_date": "string",
- "reservation_number": "string",
- "room_net_amount": 0,
- "f_and_b_net_amount": 0,
- "total_amount": 0,
- "checkin_date": "string",
- "stay_duration": 0,
- "guest_first_name": "string",
- "guest_last_name": "string",
- "market_segment_code": "string",
- "rate_code": "string",
- "partner_name": "string",
- "processing_date": "string",
- "loyalty_program_name": "string",
- "loyalty_exception_id": 0,
- "loyalty_rule_name": "string",
- "currency_code": "string",
- "total_amount_currency_code": "string",
- "description": "string",
- "checkout_date": "string"
}
}view_posted_transactions
| member_id required | string |
| search | string Search by ID, Store or Description |
| type | string Enum: "reward" "redemption" "expiry" |
| start_date | string Example: start_date=2020-01-28 |
| end_date | string Example: end_date=2020-01-29 |
{- "data": [
- {
- "id": "string",
- "created_at": "2020-01-28",
- "store_name": "string",
- "description": "string",
- "points_rewarded": 0,
- "points_redeemed": 0,
- "original_total_amount": 0,
- "currency_code": "string",
- "is_reversed": true,
- "type": "reward",
- "action": 1,
- "merchant_name": "string",
- "is_reversable": true
}
]
}view_posted_transactions
| member_id required | string |
| search | string Search by ID, Store or Description |
| type | string Enum: "reward" "redemption" "expiry" |
| start_date | string Example: start_date=2020-01-28 |
| end_date | string Example: end_date=2020-01-29 |
{- "data": [
- {
- "total_rewarded": 0,
- "total_redeemed": 0,
- "total_rewarded_with_reversal": 0,
- "total_redeemed_with_reversal": 0,
- "total_expired": 0
}
]
}view_posted_transactions
| member_id required | string |
| transaction_id required | string |
{- "data": [
- {
- "id": "string",
- "trans_class": "string",
- "is_reward": true,
- "created_at": "2019-08-24T14:15:22Z",
- "posted_at": "2019-08-24T14:15:22Z",
- "partner_name": "string",
- "points_rewarded": 0,
- "amt_reward": 0,
- "mcc_code_description": "string",
- "mcc_code": "string",
- "country": "string",
- "original_total_amount": 0,
- "currency": "string",
- "partner_amount": 0,
- "partner_currency": "string",
- "transaction_type_name": "string",
- "partner_trxtype": "string",
- "pos_entry_mode": "string",
- "acquirer_bin": "string",
- "acceptor_id": "string",
- "loyalty_rule": [
- { }
], - "loyalty_program_name": "string",
- "loyalty_exception_id": "string",
- "loyalty_exception_name": "string",
- "card_number": "string",
- "auth_staff_id": "string",
- "auth_staff_name": "string",
- "merchant_name": "string",
- "details": {
- "id": 0,
- "code": "string",
- "type": "item",
- "status": "waiting_confirmation",
- "date": "string",
- "user_id": 0,
- "rejection_reason": {
- "message": "string",
- "error_code": 0
}, - "point_payment_status": "not_applicable",
- "cash_payment_status": "not_applicable",
- "is_order_reversible": true,
- "invoice": {
- "price_in_points": 0,
- "pay_in_points": 0,
- "pay_in_cash": {
- "in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_payment_gateway_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_usd": {
- "amount": 0.1,
- "currency": "string"
}
}
}, - "invoice_before_reversal": {
- "price_in_points": 0,
- "pay_in_points": 0,
- "pay_in_cash": {
- "in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_payment_gateway_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_usd": {
- "amount": 0.1,
- "currency": "string"
}
}
}, - "items": [
- {
- "id": 0,
- "code": "9c6aa9b0-702c-47fc-a9a8-7b2e8dffa9be",
- "name": "string",
- "quantity": 0,
- "reversed_quantity": 0,
- "type_code": "store",
- "group": "store",
- "failed_quantity": 0,
- "confirmed_quantity": 0,
- "details_per_item": {
- "item_code": "9c6aa9b0-702c-47fc-a9a8-7b2e8dffa9be",
- "item_price_in_points": 0,
- "delivery_price_in_points": 0,
- "item_price_in_points_with_delivery": 0,
- "total_redeemed_points": 0,
- "total_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "item_redeemed_points": 0,
- "item_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_redeemed_points": 0,
- "delivery_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "is_item_reversed": true,
- "is_delivery_reversed": true,
- "is_item_reversible": true,
- "is_delivery_reversible": true
}
}
], - "customer_details": {
- "full_name": "string",
- "email": "user@example.com",
- "mobile": "string",
- "additional_phone": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "country_id": 0,
- "country_name": "string",
- "address1": "string",
- "address2": "string",
- "postal_code": "string"
}
}
}
]
}reverse_redemption_transaction
| member_id required | string |
| transaction_id required | string |
{- "data": {
- "id": "string",
- "created_at": "2020-01-28",
- "store_name": "string",
- "description": "string",
- "points_rewarded": 0,
- "points_redeemed": 0,
- "original_total_amount": 0,
- "currency_code": "string",
- "is_reversed": true,
- "action": 1,
- "merchant_name": "string",
- "is_reversable": true
}
}retrigger_redemption_confirmation_emails
| member_id required | string |
| transaction_id required | string |
| target | string Enum: "admin" "client" |
{- "target": "admin"
}{- "message": "string"
}reverse_reward_transaction
| member_id required | string |
| transaction_id required | string |
{- "data": {
- "id": "string",
- "created_at": "2020-01-28",
- "store_name": "string",
- "description": "string",
- "points_rewarded": 0,
- "points_redeemed": 0,
- "original_total_amount": 0,
- "currency_code": "string",
- "is_reversed": true,
- "action": 1,
- "merchant_name": "string",
- "is_reversable": true
}
}view_orders
| member_id required | string |
| status | string Enum: "in_process" "pending" "approved" "rejected" "reversal_in_process" "reverted" |
| type | string Enum: "item" "hotel" "flight" "car" "cashback" "affiliate" "user-transfer" "vop" "adhoc" "merchant" |
| start_date | string Example: start_date=2020-01-28 |
| end_date | string Example: end_date=2020-01-29 |
{- "data": [
- {
- "id": "string",
- "created_at": "2020-01-28",
- "updated_at": "2020-01-28",
- "partner_name": "string",
- "status": "string",
- "member_name_captured": "string",
- "type": "string",
- "points": 0,
- "rejection_reason": "string"
}
]
}view_orders
| member_id required | string |
| status | string Enum: "in_process" "pending" "approved" "rejected" "reversal_in_process" "reverted" |
| type | string Enum: "item" "hotel" "flight" "car" "cashback" "affiliate" "user-transfer" "vop" "adhoc" |
| start_date | string Example: start_date=2020-01-28 |
| end_date | string Example: end_date=2020-01-29 |
{- "data": [
- {
- "blocked_points": 0
}
]
}view_orders
| member_id required | string |
| order_id required | string |
{- "data": [
- {
- "id": "string",
- "rejection_reason": "string",
- "external_order_code": "string",
- "details": {
- "id": 0,
- "code": "string",
- "type": "item",
- "status": "waiting_confirmation",
- "date": "string",
- "user_id": 0,
- "rejection_reason": {
- "message": "string",
- "error_code": 0
}, - "point_payment_status": "not_applicable",
- "cash_payment_status": "not_applicable",
- "is_order_reversible": true,
- "invoice": {
- "price_in_points": 0,
- "pay_in_points": 0,
- "pay_in_cash": {
- "in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_payment_gateway_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_usd": {
- "amount": 0.1,
- "currency": "string"
}
}
}, - "invoice_before_reversal": {
- "price_in_points": 0,
- "pay_in_points": 0,
- "pay_in_cash": {
- "in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_payment_gateway_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_usd": {
- "amount": 0.1,
- "currency": "string"
}
}
}, - "items": [
- {
- "id": 0,
- "code": "9c6aa9b0-702c-47fc-a9a8-7b2e8dffa9be",
- "name": "string",
- "quantity": 0,
- "reversed_quantity": 0,
- "type_code": "store",
- "group": "store",
- "failed_quantity": 0,
- "confirmed_quantity": 0,
- "details_per_item": {
- "item_code": "9c6aa9b0-702c-47fc-a9a8-7b2e8dffa9be",
- "item_price_in_points": 0,
- "delivery_price_in_points": 0,
- "item_price_in_points_with_delivery": 0,
- "total_redeemed_points": 0,
- "total_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "item_redeemed_points": 0,
- "item_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_redeemed_points": 0,
- "delivery_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "is_item_reversed": true,
- "is_delivery_reversed": true,
- "is_item_reversible": true,
- "is_delivery_reversible": true
}
}
], - "customer_details": {
- "full_name": "string",
- "email": "user@example.com",
- "mobile": "string",
- "additional_phone": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "country_id": 0,
- "country_name": "string",
- "address1": "string",
- "address2": "string",
- "postal_code": "string"
}
}
}
]
}view_orders
| member_id required | string |
| status | string Enum: "in_process" "pending" "approved" "rejected" "reversal_in_process" "reverted" |
| type | string Enum: "item" "hotel" "flight" "car" "cashback" "affiliate" "user-transfer" "vop" "adhoc" "merchant" |
| start_date | string Example: start_date=2020-01-28 |
| end_date | string Example: end_date=2020-01-29 |
{- "data": [
- {
- "id": "string",
- "created_at": "2020-01-28",
- "updated_at": "2020-01-28",
- "partner_name": "string",
- "status": "string",
- "member_name_captured": "string",
- "type": "string",
- "points": 0,
- "rejection_reason": "string"
}
]
}reverse_redemption_transaction
| member_id required | string |
| order_id required | string |
| item_codes | Array of arrays |
| delivery_codes | Array of arrays |
{- "data": [
- {
- "id": "string",
- "html": "string",
- "rejection_reason": "string",
- "external_order_code": "string"
}
]
}change-status
| member_id required | string |
| partner_id required | integer |
| is_override | boolean |
| status required | string Enum: "active" "suspended" "closed" |
{- "partner_id": 0,
- "is_override": true,
- "status": "active"
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "status": "string",
- "partner_user_code": "string"
}
]
}reward-points
| member_id required | string |
| partner_id required | integer |
| store_id required | integer |
| points required | integer |
| invoice_number | string |
| transaction_date required | string |
| notes | string |
| expiration_rule_id required | integer or null Point Expiration Rule id (must belong to the selected partner and be active, or be the partner's linked default rule when that rule has been deactivated). Use |
{- "partner_id": 0,
- "store_id": 0,
- "points": 0,
- "invoice_number": "string",
- "transaction_date": "string",
- "notes": "string",
- "expiration_rule_id": 0
}{- "data": {
- "id": "string",
- "created_at": "2020-01-28",
- "store_name": "string",
- "description": "string",
- "points_rewarded": 0,
- "points_redeemed": 0,
- "original_total_amount": 0,
- "currency_code": "string",
- "is_reversed": true,
- "action": 1,
- "merchant_name": "string",
- "is_reversable": true
}
}reward amount by exception rule
| member_id required | string |
| partner_id required | integer |
| store_id required | integer |
| rule_id required | integer |
| currency_id required | integer |
| amount required | number |
| invoice_number | string |
| transaction_date required | string |
{- "partner_id": 0,
- "store_id": 0,
- "rule_id": 0,
- "currency_id": 0,
- "amount": 0,
- "invoice_number": "string",
- "transaction_date": "string"
}{- "data": {
- "id": "string",
- "created_at": "2020-01-28",
- "store_name": "string",
- "description": "string",
- "points_rewarded": 0,
- "points_redeemed": 0,
- "original_total_amount": 0,
- "currency_code": "string",
- "is_reversed": true,
- "action": 1,
- "merchant_name": "string"
}
}redeem-points
| member_id required | string |
| partner_id required | integer |
| store_id required | integer |
| currency_id | integer |
| type required | string Enum: "amount" "points" |
| amount required | number |
| category | string |
| notes | string |
{- "partner_id": 0,
- "store_id": 0,
- "currency_id": 0,
- "type": "amount",
- "amount": 0,
- "category": "string",
- "notes": "string"
}{- "data": {
- "message": "Points redeemed successfully."
}
}redeem-item
| member_id required | integer |
| product_redemption_channel_id required | integer |
| country_id required | integer |
{- "product_redemption_channel_id": 0,
- "country_id": 0
}{- "data": {
- "message": "Item redeemed successfully."
}
}send_welcome_email
| member_id required | string |
| partner_id required | integer |
{- "partner_id": 0
}{- "message": "string"
}send-password-reset-link
| member_id required | integer |
| partner_id required | integer |
{- "partner_id": 0
}{- "data": {
- "message": "Password reset link sent successfully."
}
}require_password_reset
| member_id required | integer |
| partner_id required | integer |
{- "partner_id": 0
}{- "data": {
- "message": "Password reset required successfully for the member."
}
}set-home-tier
| member_id required | integer |
| old_tier_id | integer |
| tier_id required | integer |
{- "old_tier_id": 0,
- "tier_id": 0
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}set-regular-tier
| member_id required | integer |
| old_tier_id | integer |
| tier_id required | integer |
{- "old_tier_id": 0,
- "tier_id": 0
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}{- "data": [
- {
- "id": "string",
- "old_tier_id": "string",
- "old_tier_name": "string",
- "old_date": "2020-01-28",
- "tier_id": "string",
- "tier_name": "string",
- "action": "string",
- "assignment_date": "2020-01-28",
- "created_at": "2020-01-28",
- "updated_at": "2020-01-28"
}
]
}endpoint returns list of earned badges for a member
| member_id required | integer |
| partner_id required | integer |
| search_phrase | string |
| is_active | boolean |
| page | integer |
| per_page | integer |
{- "data": [
- {
- "member_id": 0,
- "trigger_campaign_id": 0,
- "trigger_item_id": 0,
- "trigger_action_execution_id": 0,
- "badge_name": "string",
- "collection_name": "string",
- "is_active": true,
- "created_at": "2020-01-28"
}
]
}endpoint returns total earned badges for a member
| member_id required | integer |
| partner_id required | integer |
| is_active | boolean |
{- "data": {
- "total_earned_badges": 0,
- "total_active_earned_badges": 0,
- "last_earned_badge_date": "2020-01-28"
}
}view_segments
| partner_ids | Array of arrays Filter by partner or multiple partners |
| name | string Search by name |
| is_manual | boolean Filter by manual segments (if empty - all) |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "parner_name": "string",
- "member_count": 0,
- "is_manual": true
}
]
}create_segments
| name required | string |
| partner_id required | string |
| is_manual required | boolean |
| partner_prefix | string |
| mapping_id | string |
{- "name": "string",
- "partner_id": "string",
- "is_manual": true,
- "partner_prefix": "string",
- "mapping_id": "string"
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "name": "string",
- "is_manual": true,
- "partner_prefix": "string",
- "mapping_id": "string",
- "member_count": 0
}
}view_segments
| segment_id required | string |
{- "data": {
- "id": "string",
- "partner_id": "string",
- "name": "string",
- "is_manual": true,
- "partner_prefix": "string",
- "mapping_id": "string",
- "member_count": 0
}
}edit_segments
| segment_id required | string |
| name | string |
| partner_id | string |
| is_manual | boolean |
| partner_prefix | string |
| mapping_id | string |
{- "name": "string",
- "partner_id": "string",
- "is_manual": true,
- "partner_prefix": "string",
- "mapping_id": "string"
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "name": "string",
- "is_manual": true,
- "partner_prefix": "string",
- "mapping_id": "string",
- "member_count": 0
}
}edit_segments
| segment_id required | string |
| field required | string Criteria name |
| value | object Criteria parameters |
{- "field": "string",
- "value": { }
}{- "data": [
- {
- "id": "string",
- "field": "string",
- "value": "string"
}
]
}edit_segments
| segment_id required | string |
| member_id required | string Member Id that you want attach to segment |
{- "member_id": "string"
}{- "data": [
- {
- "id": "string",
- "full_name": "string"
}
]
}create_segments or edit_segments
| segment_id required | string |
| file required | string <binary> Member file that you want attach to segment |
{- "data": {
- "message": "File uploaded successfully."
}
}view_partner_bins
| partner_ids | Array of arrays Filter by partner or multiple partners |
| status | string Enum: "Enrolled" "NotEnrolled" Filter by status |
| search_phrase | string Search by bin or card type |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "parner_name": "string",
- "member_count": 0,
- "is_manual": true
}
]
}create_partner_bins
| bin required | string |
| partner_id required | string |
| status required | boolean |
| card_type required | string |
{- "bin": "string",
- "partner_id": "string",
- "status": true,
- "card_type": "string"
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "partner_name": "string",
- "bin": "string",
- "status": true,
- "card_type": 0
}
}edit_partner_bins
| bin_id required | string |
| name | string |
| partner_id | string |
| is_manual | boolean |
| partner_prefix | string |
| mapping_id | string |
{- "name": "string",
- "partner_id": "string",
- "is_manual": true,
- "partner_prefix": "string",
- "mapping_id": "string"
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "partner_name": "string",
- "bin": "string",
- "status": true,
- "card_type": 0
}
}| partner_ids | Array of arrays Filter by partner or multiple partners |
| is_enabled | boolean Filter by status |
| name | string Search by name |
| order_by | string Enum: "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "parner_name": "string",
- "created_at": "string",
- "is_enabled": true,
- "criteria_name": "string"
}
]
}| name required | string |
| partner_id required | string |
| is_enabled required | boolean |
| description | string |
| up_period | integer |
| down_period | integer |
| criteria_id | string |
| product_ids | Array of arrays |
{- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "up_period": 0,
- "down_period": 0,
- "criteria_id": "string",
- "product_ids": [ ]
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "partner_name": "string",
- "name": "string",
- "is_enabled": true,
- "description": "string",
- "up_period": 0,
- "down_period": 0,
- "criteria_id": "string",
- "product_ids": [
- 1,
- 2,
- 3
]
}
}| tiering_program_id required | string |
{- "data": {
- "id": "string",
- "partner_id": "string",
- "partner_name": "string",
- "name": "string",
- "is_enabled": true,
- "description": "string",
- "up_period": 0,
- "down_period": 0,
- "criteria_id": "string",
- "product_ids": [
- 1,
- 2,
- 3
]
}
}| tiering_program_id required | string |
| name | string |
| partner_id | string |
| is_enabled | boolean |
| description | string |
| up_period | integer |
| down_period | integer |
| criteria_id | string |
| product_ids | Array of arrays |
{- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "up_period": 0,
- "down_period": 0,
- "criteria_id": "string",
- "product_ids": [ ]
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "partner_name": "string",
- "name": "string",
- "is_enabled": true,
- "description": "string",
- "up_period": 0,
- "down_period": 0,
- "criteria_id": "string",
- "product_ids": [
- 1,
- 2,
- 3
]
}
}| tiering_program_id required | string |
| name | string |
| lower_value | integer |
| upper_value | integer |
| partner_mapping_id | string |
{- "name": "string",
- "lower_value": 0,
- "upper_value": 0,
- "partner_mapping_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "lower_value": 0,
- "upper_value": 0,
- "partner_mapping_id": "string",
- "rank": 0
}
]
}| tiering_program_id required | string |
| tier_id required | string |
| name | string |
| lower_value | integer |
| upper_value | integer |
| partner_mapping_id | string |
{- "name": "string",
- "lower_value": 0,
- "upper_value": 0,
- "partner_mapping_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "lower_value": 0,
- "upper_value": 0,
- "partner_mapping_id": "string",
- "rank": 0
}
}| tiering_program_id required | string |
| tier_id required | string |
| rank | integer |
{- "rank": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "lower_value": 0,
- "upper_value": 0,
- "partner_mapping_id": "string",
- "rank": 0
}
}| partner_ids | Array of arrays Filter by partner or multiple partners |
| network_ids | Array of arrays Filter by network or multiple networks |
| status | any Filter by status (Enabled, Disabled) |
| name | string Search by name |
| partner_name | string Search by partner name |
| order_by | string Enum: "created_at_asc" "created_at_desc" Order by |
| per_page | integer Number of items per page |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "network_name": "string",
- "ratner_name": "string",
- "is_enabled": true,
- "valid_from": "string",
- "valid_to": "string",
- "rank": 0,
- "created_at": "string"
}
]
}| name required | string |
| partner_id required | string |
| is_enabled required | boolean |
| description | string |
| valid_from | string |
| valid_to | string |
| cashback_validity | integer |
| original_reward required | number |
| currency_id required | string |
| reward_pts required | integer |
{- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "valid_from": "string",
- "valid_to": "string",
- "cashback_validity": 0,
- "original_reward": 0,
- "currency_id": "string",
- "reward_pts": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "valid_from": "string",
- "valid_to": "string",
- "cashback_validity": 0,
- "original_reward": 0,
- "currency_id": "string",
- "reward_pts": 0,
- "rank": 0
}
}| loyalty_program_id required | string |
{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "valid_from": "string",
- "valid_to": "string",
- "cashback_validity": 0,
- "original_reward": 0,
- "currency_id": "string",
- "reward_pts": 0,
- "rank": 0
}
}| loyalty_program_id required | string |
| name required | string |
| partner_id required | string |
| is_enabled required | boolean |
| description | string |
| valid_from | string |
| valid_to | string |
| cashback_validity | integer |
| original_reward required | number |
| currency_id required | string |
| reward_pts required | integer |
{- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "valid_from": "string",
- "valid_to": "string",
- "cashback_validity": 0,
- "original_reward": 0,
- "currency_id": "string",
- "reward_pts": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "valid_from": "string",
- "valid_to": "string",
- "cashback_validity": 0,
- "original_reward": 0,
- "currency_id": "string",
- "reward_pts": 0,
- "rank": 0
}
}| loyalty_program_id required | string |
{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": "string",
- "is_enabled": true,
- "description": "string",
- "valid_from": "string",
- "valid_to": "string",
- "cashback_validity": 0,
- "original_reward": 0,
- "currency_id": "string",
- "reward_pts": 0,
- "rank": 0
}
}| loyalty_program_id required | string |
| status | string or null Enum: "Enable" "Disable" |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "earning_type": 2,
- "balance_type_id": 0,
- "is_enabled": true,
- "reward_pts": 0,
- "original_reward": 0,
- "currency_code": "string",
- "priority": 0,
- "point_expiration_rule": {
- "id": 53,
- "rule_name": "alinma-12m-default-expiry",
- "rule_code": "ALINMA-12M-DEF",
- "is_active": false
}, - "created_at": "2020-08-04 07:37:55",
- "deleted_at": "2020-08-04 07:37:55"
}
]
}| loyalty_program_id required | string |
| name | string <= 100 characters |
| key | string <= 100 characters |
| is_enabled | boolean |
Array of objects Every entry must be an object carrying both lang_id and name — an entry of any other shape is refused with 422. | |
| type | string Enum: "Points" "Price" "Event" "Tiers" |
| balance_type_id | integer |
| reward_pts | integer [ 0 .. 2147483647 ] The points the rule awards — for a Bonus rule, the flat top-up paid per qualifying transaction. Required for every rule type except |
| currency_id | string |
| original_reward | integer |
| reward_cap_id | string |
| reward_tier_id | string |
| priority | integer |
| earning_type | integer Default: 1 Enum: 1 2
|
| active_from | string or null <date> First day the Bonus rule is active, inclusive. Accepted on a Bonus rule only. An empty bound falls back to the loyalty program's own |
| active_to | string or null <date> Last day the Bonus rule is active, inclusive. Same rules as |
object or null The occurrence policy gating the Bonus rule: which of the member's qualifying transactions actually pay. Required on a Bonus rule — absent, | |
| point_expiration_rule_id | integer or null How points earned through this rule expire. An active point expiration rule of the program's partner (the partner default rule's id, or a specific rule). null = no expiry. |
Array of objects |
{- "name": "string",
- "key": "string",
- "is_enabled": true,
- "translations": [
- {
- "lang_id": 0,
- "name": "string"
}
], - "type": "Points",
- "balance_type_id": 0,
- "reward_pts": 0,
- "currency_id": "string",
- "original_reward": 0,
- "reward_cap_id": "string",
- "reward_tier_id": "string",
- "priority": 0,
- "earning_type": 1,
- "active_from": "2019-08-24",
- "active_to": "2019-08-24",
- "occurrence": {
- "policy": 1,
- "period": 1,
- "scope": 1,
- "ordinals": [
- 1
], - "every": 1,
- "max_rewards": 1
}, - "point_expiration_rule_id": 0,
- "conditions": [
- {
- "operator": "and",
- "type": "Segment",
- "rule_value": "string",
- "comparison_operator": "equal",
- "rule_value_currency": 0
}
]
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "key": "string",
- "is_enabled": true,
- "translations": [
- {
- "lang_id": "string",
- "name": "string"
}
], - "type": "string",
- "earning_type": 2,
- "active_from": "2026-10-01",
- "active_to": "2026-12-31",
- "occurrence": {
- "policy": 1,
- "period": 1,
- "scope": 1,
- "ordinals": [
- 1,
- 3,
- 7
], - "every": 0,
- "max_rewards": 0
}, - "balance_type_id": 0,
- "partner_id": 0,
- "reward_pts": 0,
- "currency_id": "string",
- "reward_usd": 0,
- "original_reward": 0,
- "currency_code": "string",
- "reward_cap_id": "string",
- "reward_tier_id": "string",
- "point_expiration_rule": {
- "id": 53,
- "rule_name": "alinma-12m-default-expiry",
- "rule_code": "ALINMA-12M-DEF",
- "is_active": false
}, - "priority": 0,
- "created_at": "2020-08-04 07:37:55",
- "deleted_at": "2020-08-04 07:37:55",
- "conditions": [
- {
- "id": 0,
- "operator": "and",
- "type": "POS entry mode",
- "rule_value": "string",
- "rule_value_description": "BLU Points KSA - [tier6]",
- "comparison_operator": "=",
- "supported_comparison_operators": [
- {
- "value": "equal",
- "sign": "="
}
], - "rule_value_currency": 0
}
]
}
]
}| loyalty_program_id required | string |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "type": "string",
- "earning_type": 2,
- "balance_type_id": 0,
- "is_enabled": true,
- "reward_pts": 0,
- "original_reward": 0,
- "currency_code": "string",
- "priority": 0,
- "point_expiration_rule": {
- "id": 53,
- "rule_name": "alinma-12m-default-expiry",
- "rule_code": "ALINMA-12M-DEF",
- "is_active": false
}, - "created_at": "2020-08-04 07:37:55",
- "deleted_at": "2020-08-04 07:37:55"
}
]
}| loyalty_program_id required | string |
| rule_id required | string |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "key": "string",
- "is_enabled": true,
- "translations": [
- {
- "lang_id": "string",
- "name": "string"
}
], - "type": "string",
- "earning_type": 2,
- "active_from": "2026-10-01",
- "active_to": "2026-12-31",
- "occurrence": {
- "policy": 1,
- "period": 1,
- "scope": 1,
- "ordinals": [
- 1,
- 3,
- 7
], - "every": 0,
- "max_rewards": 0
}, - "balance_type_id": 0,
- "partner_id": 0,
- "reward_pts": 0,
- "currency_id": "string",
- "reward_usd": 0,
- "original_reward": 0,
- "currency_code": "string",
- "reward_cap_id": "string",
- "reward_tier_id": "string",
- "point_expiration_rule": {
- "id": 53,
- "rule_name": "alinma-12m-default-expiry",
- "rule_code": "ALINMA-12M-DEF",
- "is_active": false
}, - "priority": 0,
- "created_at": "2020-08-04 07:37:55",
- "deleted_at": "2020-08-04 07:37:55",
- "conditions": [
- {
- "id": 0,
- "operator": "and",
- "type": "POS entry mode",
- "rule_value": "string",
- "rule_value_description": "BLU Points KSA - [tier6]",
- "comparison_operator": "=",
- "supported_comparison_operators": [
- {
- "value": "equal",
- "sign": "="
}
], - "rule_value_currency": 0
}
]
}
]
}| loyalty_program_id required | string |
| rule_id required | string |
Only the fields the request carries are changed. name and is_enabled are required and are always applied; key, priority, translations and point_expiration_rule_id are optional — omit one and the rule keeps its stored value, send it as null to clear it. translations is a complete replacement set: a language missing from a submitted list is removed, and [] or null removes them all.
The bonus configuration is create-only and is deliberately absent here: a rule's earning type, active period, occurrence policy and conditions are set once, by postLoyaltyProgramRules, and never change — changing an occurrence policy after it has started counting would re-key every occurrence counter and make every member eligible for the bonus again. A rule that needs different settings is deleted and created again.
| name required | string <= 100 characters |
| key | string or null <= 100 characters Omit to keep the stored key; send null to clear it. |
| is_enabled required | boolean |
| priority | integer or null Omit to keep the stored priority; send null to clear it. |
| point_expiration_rule_id | integer or null How points earned through this rule expire. An active point expiration rule of the program's partner, or the rule already linked to this rule when it has since been deactivated. Omit to keep the current linkage; null = no expiry. |
Array of objects or null The complete replacement set. Omit to leave the rule's translations untouched; an empty array or null removes them all. Every entry must be an object carrying both lang_id and name — an entry of any other shape is refused with 422. |
{- "name": "string",
- "key": "string",
- "is_enabled": true,
- "priority": 0,
- "point_expiration_rule_id": 0,
- "translations": [
- {
- "lang_id": 0,
- "name": "string"
}
]
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "key": "string",
- "is_enabled": true,
- "translations": [
- {
- "lang_id": "string",
- "name": "string"
}
], - "type": "string",
- "earning_type": 2,
- "active_from": "2026-10-01",
- "active_to": "2026-12-31",
- "occurrence": {
- "policy": 1,
- "period": 1,
- "scope": 1,
- "ordinals": [
- 1,
- 3,
- 7
], - "every": 0,
- "max_rewards": 0
}, - "balance_type_id": 0,
- "partner_id": 0,
- "reward_pts": 0,
- "currency_id": "string",
- "reward_usd": 0,
- "original_reward": 0,
- "currency_code": "string",
- "reward_cap_id": "string",
- "reward_tier_id": "string",
- "point_expiration_rule": {
- "id": 53,
- "rule_name": "alinma-12m-default-expiry",
- "rule_code": "ALINMA-12M-DEF",
- "is_active": false
}, - "priority": 0,
- "created_at": "2020-08-04 07:37:55",
- "deleted_at": "2020-08-04 07:37:55",
- "conditions": [
- {
- "id": 0,
- "operator": "and",
- "type": "POS entry mode",
- "rule_value": "string",
- "rule_value_description": "BLU Points KSA - [tier6]",
- "comparison_operator": "=",
- "supported_comparison_operators": [
- {
- "value": "equal",
- "sign": "="
}
], - "rule_value_currency": 0
}
]
}
]
}| loyalty_program_id required | string |
| id required | string |
{- "id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "product_map_id": "string"
}
]
}| partner_ids | Array of arrays Filter by partner or multiple partners |
| website_statuses | Array of arrays Filter by statuses |
| mobile_statuses | Array of arrays Filter by mobile statuses |
| lang_id | string Filter by language |
| name | string Search by name |
| order_by | string Enum: "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": "string",
- "website_image_url": "string",
- "mobile_image_url": "string",
- "name": "string",
- "partner_name": "string",
- "language_name": "string",
- "website_status": "string",
- "mobile_status": "string",
- "created_at": "string"
}
]
}| name required | string |
| title | string |
| description | string |
| partner_id required | string |
| lang_id required | string |
| logged_in | boolean |
| logged_out | boolean |
| website_status | string Enum: "online" "offline" |
| mobile_status | string Enum: "online" "offline" |
| website_image_id | string |
| mobile_image_id | string |
| tablet_image_id | string |
| website_link | string |
| mobile_link | string |
| date_bound | boolean |
{- "name": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "lang_id": "string",
- "logged_in": true,
- "logged_out": true,
- "website_status": "online",
- "mobile_status": "online",
- "website_image_id": "string",
- "mobile_image_id": "string",
- "tablet_image_id": "string",
- "website_link": "string",
- "mobile_link": "string",
- "date_bound": true
}{- "data": {
- "id": "string",
- "website_image_url": "string",
- "mobile_image_url": "string",
- "name": "string",
- "partner_name": "string",
- "language_name": "string",
- "website_status": "online",
- "mobile_status": "online",
- "created_at": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "lang_id": "string",
- "logged_in": true,
- "logged_out": true,
- "website_image_id": "string",
- "mobile_image_id": "string",
- "tablet_image_id": "string",
- "website_link": "string",
- "mobile_link": "string",
- "date_bound": true
}
}{- "data": {
- "id": "string",
- "website_image_url": "string",
- "mobile_image_url": "string",
- "name": "string",
- "partner_name": "string",
- "language_name": "string",
- "website_status": "online",
- "mobile_status": "online",
- "created_at": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "lang_id": "string",
- "logged_in": true,
- "logged_out": true,
- "website_image_id": "string",
- "mobile_image_id": "string",
- "tablet_image_id": "string",
- "website_link": "string",
- "mobile_link": "string",
- "date_bound": true
}
}| banner_id required | string |
| name | string |
| title | string |
| description | string |
| partner_id | string |
| lang_id | string |
| logged_in | boolean |
| logged_out | boolean |
| website_status | string Enum: "online" "offline" |
| mobile_status | string Enum: "online" "offline" |
| website_image_id | string |
| mobile_image_id | string |
| tablet_image_id | string |
| website_link | string |
| mobile_link | string |
| date_bound | boolean |
{- "name": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "lang_id": "string",
- "logged_in": true,
- "logged_out": true,
- "website_status": "online",
- "mobile_status": "online",
- "website_image_id": "string",
- "mobile_image_id": "string",
- "tablet_image_id": "string",
- "website_link": "string",
- "mobile_link": "string",
- "date_bound": true
}{- "data": {
- "id": "string",
- "website_image_url": "string",
- "mobile_image_url": "string",
- "name": "string",
- "partner_name": "string",
- "language_name": "string",
- "website_status": "online",
- "mobile_status": "online",
- "created_at": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "lang_id": "string",
- "logged_in": true,
- "logged_out": true,
- "website_image_id": "string",
- "mobile_image_id": "string",
- "tablet_image_id": "string",
- "website_link": "string",
- "mobile_link": "string",
- "date_bound": true
}
}| banner_id required | string |
| page required | string Page name that you want attach to banner |
{- "page": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| banner_id required | string |
| tier_id required | string Tier Id that you want attach to banner |
{- "tier_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| banner_id required | string |
| segment_id required | string Segment Id that you want attach to banner |
{- "segment_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| banner_id required | string |
| country_id required | string Country Id that you want attach to banner |
{- "country_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| name required | string |
| media_id | integer |
{- "name": "string",
- "media_id": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "code": "string",
- "image_url": "string"
}
}| brand_id required | string |
| name required | string |
| media_id | integer |
{- "name": "string",
- "media_id": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "code": "string",
- "image_url": "string"
}
}| brand_id required | string |
| name required | string |
| lang_id required | string |
{- "name": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "code": "string",
- "name": "string",
- "language": {
- "id": "string",
- "name": "Arabic"
}
}
}| brand_id required | string |
| id required | string |
| name required | string |
| lang_id | string |
{- "name": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "code": "string",
- "name": "string",
- "language": {
- "id": "string",
- "name": "Arabic"
}
}
}| id | string Search by id |
| partner_ids | Array of integers <int64> [ items <int64 > ] |
| search | string |
| per_page | integer Number of items per page |
| order_by | string Enum: "id_asc" "id_desc" "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "partners": "string"
}
]
}| name required | string |
| start_date required | string |
| end_date required | string |
| media_id | integer |
| timer required | integer |
| percentage | number |
| max_points_to_grant | integer |
| max_points_per_user | integer |
| enabled required | integer Enum: 0 1 |
| difficulty required | string Enum: "easy" "medium" "hard" |
{- "name": "string",
- "start_date": "2023-01-01",
- "end_date": "2023-01-31",
- "media_id": 0,
- "timer": 0,
- "percentage": 0,
- "max_points_to_grant": 0,
- "max_points_per_user": 0,
- "enabled": 0,
- "difficulty": "easy"
}{- "data": {
- "id": 0,
- "name": "string",
- "media_id": 0,
- "media_url": "string",
- "start_date": "2023-01-01",
- "end_date": "2023-01-31",
- "timer": 0,
- "max_points_to_grant": 0,
- "max_points_per_user": 0,
- "percentage": 0,
- "enabled": 0,
- "difficulty": "easy"
}
}{- "data": {
- "id": 0,
- "name": "string",
- "media_id": 0,
- "media_url": "string",
- "start_date": "2023-01-01",
- "end_date": "2023-01-31",
- "timer": 0,
- "max_points_to_grant": 0,
- "max_points_per_user": 0,
- "percentage": 0,
- "enabled": 0,
- "difficulty": "easy"
}
}| game_id required | string |
| name required | string |
| start_date required | string |
| end_date required | string |
| media_id | integer |
| timer required | integer |
| percentage | number |
| max_points_to_grant | integer |
| max_points_per_user | integer |
| enabled required | integer Enum: 0 1 |
| difficulty required | string Enum: "easy" "medium" "hard" |
{- "name": "string",
- "start_date": "2023-01-01",
- "end_date": "2023-01-31",
- "media_id": 0,
- "timer": 0,
- "percentage": 0,
- "max_points_to_grant": 0,
- "max_points_per_user": 0,
- "enabled": 0,
- "difficulty": "easy"
}{- "data": {
- "id": 0,
- "name": "string",
- "media_id": 0,
- "media_url": "string",
- "start_date": "2023-01-01",
- "end_date": "2023-01-31",
- "timer": 0,
- "max_points_to_grant": 0,
- "max_points_per_user": 0,
- "percentage": 0,
- "enabled": 0,
- "difficulty": "easy"
}
}edit_mobile_game
| game_id required | string |
| partner_id required | string Partner Id that you want attach to mobile game |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_mobile_game
| game_id required | string |
| country_id required | string Country Id that you want attach to mobile game |
{- "country_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| id | string Search by id |
| partner_ids | Array of integers <int64> [ items <int64 > ] |
| search | string |
| per_page | integer Number of items per page |
| order_by | string Enum: "id_asc" "id_desc" "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "image_url": "string",
- "currency": "string",
- "affiliate_country_name": "string",
- "status": "Active"
}
]
}| name required | string |
| image_id | integer <int64> (image_id) the id of the image in the database |
| status required | string Enum: "Active" "Inactive" "Suspended" |
| description | string |
| currency required | string |
| currency_id | integer |
| value_in_currency | number |
| affiliate_name required | string |
| affiliate_telephone required | string |
| affiliate_address_1 required | string |
| affiliate_address_2 required | string |
| affiliate_country | integer |
| affiliate_city | integer |
| affiliate_area | integer |
| affiliate_main_telephone required | string |
| affiliate_email required | string <email> |
| affiliate_contact_name required | string |
| affiliate_contact_telephone required | string |
| affiliate_contact_ext required | string |
| affiliate_contact_mobile required | string |
| affiliate_contact_email required | string <email> |
{- "name": "string",
- "image_id": 0,
- "status": "Active",
- "description": "string",
- "currency": "string",
- "currency_id": 0,
- "value_in_currency": 0,
- "affiliate_name": "string",
- "affiliate_telephone": "string",
- "affiliate_address_1": "string",
- "affiliate_address_2": "string",
- "affiliate_country": 0,
- "affiliate_city": 0,
- "affiliate_area": 0,
- "affiliate_main_telephone": "string",
- "affiliate_email": "user@example.com",
- "affiliate_contact_name": "string",
- "affiliate_contact_telephone": "string",
- "affiliate_contact_ext": "string",
- "affiliate_contact_mobile": "string",
- "affiliate_contact_email": "user@example.com"
}{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "draft": 0,
- "image": 0,
- "image_url": "string",
- "affiliate_address_1": "string",
- "affiliate_address_2": "string",
- "affiliate_country": 0,
- "affiliate_area": 0,
- "affiliate_city": 0,
- "affiliate_contact_email": "user@example.com",
- "affiliate_contact_ext": "string",
- "affiliate_contact_mobile": "string",
- "affiliate_contact_name": "string",
- "affiliate_contact_telephone": "string",
- "affiliate_email": "user@example.com",
- "affiliate_main_telephone": "string",
- "affiliate_name": "string",
- "affiliate_telephone": "string",
- "currency": "string",
- "currency_id": 0,
- "status": "Active",
- "value_in_currency": 0
}
}{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "draft": 0,
- "image": 0,
- "image_url": "string",
- "affiliate_address_1": "string",
- "affiliate_address_2": "string",
- "affiliate_country": 0,
- "affiliate_area": 0,
- "affiliate_city": 0,
- "affiliate_contact_email": "user@example.com",
- "affiliate_contact_ext": "string",
- "affiliate_contact_mobile": "string",
- "affiliate_contact_name": "string",
- "affiliate_contact_telephone": "string",
- "affiliate_email": "user@example.com",
- "affiliate_main_telephone": "string",
- "affiliate_name": "string",
- "affiliate_telephone": "string",
- "currency": "string",
- "currency_id": 0,
- "status": "Active",
- "value_in_currency": 0
}
}| network_id required | string |
| name required | string |
| image_id | integer <int64> (image_id) the id of the image in the database |
| status required | string Enum: "Active" "Inactive" "Suspended" |
| description | string |
| currency required | string |
| currency_id | integer |
| value_in_currency | number |
| affiliate_name required | string |
| affiliate_telephone required | string |
| affiliate_address_1 required | string |
| affiliate_address_2 required | string |
| affiliate_country | integer |
| affiliate_city | integer |
| affiliate_area | integer |
| affiliate_main_telephone required | string |
| affiliate_email required | string <email> |
| affiliate_contact_name required | string |
| affiliate_contact_telephone required | string |
| affiliate_contact_ext required | string |
| affiliate_contact_mobile required | string |
| affiliate_contact_email required | string <email> |
{- "name": "string",
- "image_id": 0,
- "status": "Active",
- "description": "string",
- "currency": "string",
- "currency_id": 0,
- "value_in_currency": 0,
- "affiliate_name": "string",
- "affiliate_telephone": "string",
- "affiliate_address_1": "string",
- "affiliate_address_2": "string",
- "affiliate_country": 0,
- "affiliate_city": 0,
- "affiliate_area": 0,
- "affiliate_main_telephone": "string",
- "affiliate_email": "user@example.com",
- "affiliate_contact_name": "string",
- "affiliate_contact_telephone": "string",
- "affiliate_contact_ext": "string",
- "affiliate_contact_mobile": "string",
- "affiliate_contact_email": "user@example.com"
}{- "data": {
- "id": "string",
- "name": "string",
- "description": "string",
- "draft": 0,
- "image": 0,
- "image_url": "string",
- "affiliate_address_1": "string",
- "affiliate_address_2": "string",
- "affiliate_country": 0,
- "affiliate_area": 0,
- "affiliate_city": 0,
- "affiliate_contact_email": "user@example.com",
- "affiliate_contact_ext": "string",
- "affiliate_contact_mobile": "string",
- "affiliate_contact_name": "string",
- "affiliate_contact_telephone": "string",
- "affiliate_email": "user@example.com",
- "affiliate_main_telephone": "string",
- "affiliate_name": "string",
- "affiliate_telephone": "string",
- "currency": "string",
- "currency_id": 0,
- "status": "Active",
- "value_in_currency": 0
}
}| partner_ids | Array of arrays Filter by partner or multiple partners |
| name | string Search by name |
| type | string Enum: "SMS" "Email" Filter by type |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "type": "SMS",
- "partner_name": "string",
- "start_date": "2020-01-28 21:30:00",
- "is_invoked": true,
- "is_send": true
}
]
}| name required | string |
| partner_id required | integer |
| type required | string Enum: "SMS" "Email" |
| body | string |
| template_id | integer |
| subject | string |
| start_date required | string |
{- "name": "string",
- "partner_id": 0,
- "type": "SMS",
- "body": "string",
- "template_id": 0,
- "subject": "string",
- "start_date": "2020-01-28 21:30:00"
}{- "data": {
- "id": "string",
- "end_date": "string",
- "is_invoked": true,
- "is_sent": true,
- "sent_at": "string",
- "count": 0,
- "created_at": "2019-11-27 07:51:41",
- "created_by": "string",
- "name": "string",
- "partner_id": 0,
- "type": "SMS",
- "body": "string",
- "template_id": 0,
- "subject": "string",
- "start_date": "2020-01-28 21:30:00"
}
}| campaign_notification_id required | string |
{- "data": {
- "id": "string",
- "end_date": "string",
- "is_invoked": true,
- "is_sent": true,
- "sent_at": "string",
- "count": 0,
- "created_at": "2019-11-27 07:51:41",
- "created_by": "string",
- "name": "string",
- "partner_id": 0,
- "type": "SMS",
- "body": "string",
- "template_id": 0,
- "subject": "string",
- "start_date": "2020-01-28 21:30:00"
}
}| campaign_notification_id required | string |
| name required | string |
| partner_id required | integer |
| type required | string Enum: "SMS" "Email" |
| body | string |
| template_id | integer |
| subject | string |
| start_date required | string |
{- "name": "string",
- "partner_id": 0,
- "type": "SMS",
- "body": "string",
- "template_id": 0,
- "subject": "string",
- "start_date": "2020-01-28 21:30:00"
}{- "data": {
- "id": "string",
- "end_date": "string",
- "is_invoked": true,
- "is_sent": true,
- "sent_at": "string",
- "count": 0,
- "created_at": "2019-11-27 07:51:41",
- "created_by": "string",
- "name": "string",
- "partner_id": 0,
- "type": "SMS",
- "body": "string",
- "template_id": 0,
- "subject": "string",
- "start_date": "2020-01-28 21:30:00"
}
}| campaign_notification_id required | string |
{- "data": {
- "id": "string",
- "end_date": "string",
- "is_invoked": true,
- "is_sent": true,
- "sent_at": "string",
- "count": 0,
- "created_at": "2019-11-27 07:51:41",
- "created_by": "string",
- "name": "string",
- "partner_id": 0,
- "type": "SMS",
- "body": "string",
- "template_id": 0,
- "subject": "string",
- "start_date": "2020-01-28 21:30:00"
}
}| campaign_notification_id required | string |
| member_id required | string Member Id that you want attach to campaign notification |
{- "member_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| campaign_notification_id required | string |
| tier_id required | string Tier Id that you want attach to campaign notification |
{- "tier_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| campaign_notification_id required | string |
| segment_id required | string Segment Id that you want attach to campaign notification |
{- "segment_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}view_tickets
| partner_ids | Array of arrays Filter by partner or multiple partners |
| customer_type | string Enum: "Member" "Partner" Filter by customer type |
| statuses | string Enum: "In progress" "Closed" "Escalated" Filter by statuses |
| type_id | string Filter by type |
| search | string Search by ticket body |
{- "data": [
- {
- "id": "string",
- "status": "In progress",
- "customer_type": "Member",
- "assigne_name": "string",
- "partner_name": "string",
- "admin_name": "string",
- "created_at": "string"
}
]
}create_tickets
| status required | string Enum: "In progress" "Closed" "Escalated" |
| customer_type | string Enum: "Member" "Partner" |
| type_id | string |
| partner_id required | string |
| identity | string |
| member_id | string |
| ticket required | string |
{- "status": "In progress",
- "customer_type": "Member",
- "type_id": "string",
- "partner_id": "string",
- "identity": "string",
- "member_id": "string",
- "ticket": "string"
}{- "data": {
- "id": "string",
- "admin_name": "string",
- "member_reference": "string",
- "created_at": "string",
- "status": "In progress",
- "customer_type": "Member",
- "type_id": "string",
- "partner_id": "string",
- "identity": "string",
- "member_id": "string",
- "ticket": "string"
}
}{- "data": {
- "id": "string",
- "admin_name": "string",
- "member_reference": "string",
- "created_at": "string",
- "status": "In progress",
- "customer_type": "Member",
- "type_id": "string",
- "partner_id": "string",
- "identity": "string",
- "member_id": "string",
- "ticket": "string"
}
}edit_tickets
| ticket_id required | string |
| status | string Enum: "In progress" "Closed" "Escalated" |
| customer_type | string Enum: "Member" "Partner" |
| type_id | string |
| partner_id | string |
| identity | string |
| member_id | string |
| ticket | string |
{- "status": "In progress",
- "customer_type": "Member",
- "type_id": "string",
- "partner_id": "string",
- "identity": "string",
- "member_id": "string",
- "ticket": "string"
}{- "data": {
- "id": "string",
- "admin_name": "string",
- "member_reference": "string",
- "created_at": "string",
- "status": "In progress",
- "customer_type": "Member",
- "type_id": "string",
- "partner_id": "string",
- "identity": "string",
- "member_id": "string",
- "ticket": "string"
}
}edit_profiles
| member_id required | string |
| title | string Enum: "Mr." "Mrs." "Ms." "Prof." "Dr." "Gen." "Sen." "HRH." Member title |
| first_name | string Member first name |
| middle_name | string Member middle name |
| last_name | string Member last name |
| country_id | string Country id |
string Member email | |
| telephone_code | string Member phone code |
| mobile | string Member mobile number without code |
| image_id | string Member image id |
| marital_status | string Enum: "single" "married" "widowed" "divorced" "other" |
| gender | string Enum: "m" "f" "o" "not selected" |
| lang_id | string Member language |
| dob | string Member birtdate |
| occupation_id | string Member occupation |
| income_bracket | string Enum: "$0 - $500" "$500 - $1,000" "$1,000 - $2,000" "$2,000 - $3,000" "$3,000 - $4,000" "$4,000 - $5,000" "$5,000 - $8,000" "$8,000 - $12,000" "$12,000 - $15,000" "More than $15,000" |
| num_children | integer |
| company_name | string |
| tag | string Member tags |
| area_id | string |
| city_id | string |
| address_1 | string |
| address_2 | string |
Array of objects (memberSettingsInput) | |
| is_verified | boolean |
{- "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "company_name": "string",
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}
], - "is_verified": true
}{- "data": {
- "id": "string",
- "ucid": "string",
- "full_name": "string",
- "counrty_name": "string",
- "normalized_mobile": "string",
- "company_name": "string",
- "is_balance_pending": true,
- "is_verified": true,
- "balances": [
- {
- "network_name": "Blu points",
- "points": 100,
- "currency_code": "USD",
- "currency_balance": 10,
- "next_points_to_expire": 5,
- "next_points_expiration_date": "2021-05-20"
}
], - "references": [
- "AJIB-2323",
- "ABB-2362"
], - "segments": [
- "Default - BLU Points 123",
- "Balance 123"
], - "cards": [
- {
- "id": "string",
- "card_number": "400026XXXXXX0002",
- "created_at": "2020-01-28 21:23:12",
- "deleted_at": "2020-01-28 21:23:12"
}
], - "affiliate_programs": [
- {
- "id": 1,
- "name": "Gulf Air Falconflyer"
}
], - "tiers": [
- {
- "id": 1,
- "name": "Boubyan Bank - Bronze"
}
], - "settings": [
- {
- "setting": "promotional_emails",
- "value": 0
}, - {
- "setting": "estatement_email",
- "value": true
}, - {
- "setting": "survey_email_subscription",
- "value": true
}, - {
- "setting": "survey_sms_subscription",
- "value": true
}
], - "title": "Mr.",
- "first_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "country_id": "string",
- "email": "string",
- "telephone_code": 93,
- "mobile": "string",
- "image_id": "string",
- "marital_status": "single",
- "gender": "m",
- "lang_id": "string",
- "dob": "1990-01-20",
- "occupation_id": "string",
- "income_bracket": "$0 - $500",
- "num_children": 3,
- "tag": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string"
}
}| network_ids | Array of arrays Filter by network or multiple networks |
| partner_ids | Array of arrays Filter by partner or multiple partners |
| country_ids | Array of arrays Filter by country or multiple countries |
| category_ids | Array of arrays Filter by category or multiple categories |
| name | string Search by name |
| id | string Search by id |
| status | string Enum: "Enabled" "Disabled" Filter by status (Enabled, Disabled) |
| is_top_level_partner | boolean Filter by is top level partner |
| order_by | string Enum: "created_at_asc" "created_at_desc" order by created_at (Ascending, Descending) |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "image_url": "string",
- "category_name": "string",
- "network_name": "string",
- "parent_partner_name": "string",
- "type": "Enabled",
- "country_name": "string",
- "contact_name": "string",
- "created_at": "string"
}
]
}| name required | string |
| code | string |
| status | string Enum: "Enabled" "Disabled" "Suspended" |
| network_id required | string |
| merchant_app | string |
| contact_email | string |
| category_id required | string |
| image_id | string |
| cover_image_id | string |
| loyalty_program_logo_id | string |
| apple_wallet_logo_id | string |
| apple_wallet_icon_id | string |
| google_wallet_logo_id | string |
| email_image | string |
| lang_id | string |
| contact_website | string |
| password_expiry | integer |
| password_expiry_period | string |
| point_expiration_rule_id | integer or null The partner's default point expiration rule. Must belong to this partner and be active — a deactivated rule keeps being applied to points already earned, but cannot be saved on the partner any more. Required when |
| account_closure_points_expire | boolean |
| bonus_on_registration | string |
| parent_id | string |
string | |
string | |
string | |
| youtube | string |
string | |
| bonus_on_registration_issued_by | string |
| bonus_on_registration_reward_points | string |
| bonus_on_registration_active | string |
| bonus_on_registration_product | string |
| estatement_config_logo | string |
| estatement_config_color_gradient1 | string |
| estatement_config_color_gradient2 | string |
| estatement_config_color_title | string |
| estatement_config_color_button | string |
| program_name | Array of arrays |
| partner_name_subject | Array of arrays |
| partner_name_content | Array of arrays |
| copyright | string |
| support_email | string |
| sales_email | string |
| white_label_sales_email | string |
| send_feedback_to_sales | string |
| from_email | string |
| website_url | string |
| email_image_id | string |
| can_reward_inactive | string |
| prevent_multiple_login | string |
| is_top_level_partner | string |
| automatic_transaction_import | string |
| contact_name | string |
| contact_number | string |
| whatsapp_number | string |
| general_manager | string |
| marketing_manager | string |
| country_id | string |
| area_id | string |
| city_id | string |
| address_1 | string |
| address_2 | string |
| prefix | string |
| color | string |
| secondary_color | string |
| parent_partner_mapping_id | string Enum: "default" "3-steps barcode" |
| description | string |
| has_middleware | boolean |
| link_middleware_api | string |
| display_online | string |
| enforce_static_ip | string |
| brand_id | integer |
| google_maps_url | string |
| attribute1 | string |
| attribute2 | string |
| attribute3 | string |
| attribute4 | string |
| attribute5 | string |
Array of objects |
{- "name": "string",
- "code": "string",
- "status": "Enabled",
- "network_id": "string",
- "merchant_app": "string",
- "contact_email": "string",
- "category_id": "string",
- "image_id": "string",
- "cover_image_id": "string",
- "loyalty_program_logo_id": "string",
- "apple_wallet_logo_id": "string",
- "apple_wallet_icon_id": "string",
- "google_wallet_logo_id": "string",
- "email_image": "string",
- "lang_id": "string",
- "contact_website": "string",
- "password_expiry": 0,
- "password_expiry_period": "string",
- "point_expiration_rule_id": 0,
- "account_closure_points_expire": true,
- "bonus_on_registration": "string",
- "parent_id": "string",
- "facebook": "string",
- "instagram": "string",
- "linkedin": "string",
- "youtube": "string",
- "twitter": "string",
- "bonus_on_registration_issued_by": "string",
- "bonus_on_registration_reward_points": "string",
- "bonus_on_registration_active": "string",
- "bonus_on_registration_product": "string",
- "estatement_config_logo": "string",
- "estatement_config_color_gradient1": "string",
- "estatement_config_color_gradient2": "string",
- "estatement_config_color_title": "string",
- "estatement_config_color_button": "string",
- "program_name": [ ],
- "partner_name_subject": [ ],
- "partner_name_content": [ ],
- "copyright": "string",
- "support_email": "string",
- "sales_email": "string",
- "white_label_sales_email": "string",
- "send_feedback_to_sales": "string",
- "from_email": "string",
- "website_url": "string",
- "email_image_id": "string",
- "can_reward_inactive": "string",
- "prevent_multiple_login": "string",
- "is_top_level_partner": "string",
- "automatic_transaction_import": "string",
- "contact_name": "string",
- "contact_number": "string",
- "whatsapp_number": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "prefix": "string",
- "color": "string",
- "secondary_color": "string",
- "parent_partner_mapping_id": "default",
- "description": "string",
- "has_middleware": true,
- "link_middleware_api": "string",
- "display_online": "string",
- "enforce_static_ip": "string",
- "brand_id": 0,
- "google_maps_url": "string",
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "website_translations": [
- {
- "lang_id": 0,
- "value": "string"
}
]
}{- "data": {
- "id": "string",
- "ucid": "string",
- "code": "string",
- "status": "string",
- "name": "string",
- "prefix": "string",
- "color": "string",
- "secondary_color": "string",
- "parent_partner_mapping_id": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "whatsapp_number": "string",
- "contact_website": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "prevent_multiple_login": true,
- "automatic_transaction_import": true,
- "is_top_level_partner": true,
- "category_id": "string",
- "network_id": "string",
- "lang_id": "string",
- "image_url": "string",
- "image_id": 0,
- "cover_image_url": "string",
- "cover_image_id": 0,
- "loyalty_program_logo_url": "string",
- "loyalty_program_logo_id": 0,
- "apple_wallet_logo": "string",
- "apple_wallet_logo_id": 0,
- "apple_wallet_icon": "string",
- "apple_wallet_icon_id": 0,
- "google_wallet_logo": "string",
- "google_wallet_logo_id": 0,
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "facebook": "string",
- "instagram": "string",
- "twitter": "string",
- "linkedin": "string",
- "youtube": "string",
- "watsapp": "string",
- "welcome_sms": "string",
- "program_name": [ ],
- "partner_name_subject": [ ],
- "partner_name_content": [ ],
- "copyright": "string",
- "support_email": "string",
- "sales_email": "string",
- "white_label_sales_email": "string",
- "from_email": "string",
- "website_url": "string",
- "send_feedback_to_sales": "string",
- "email_image_id": "string",
- "email_image_url": "string",
- "merchant_app": "string",
- "can_reward_inactive": true,
- "has_middleware": true,
- "link_middleware_api": "string",
- "password_expiry": true,
- "password_expiry_period": 0,
- "use_points_expiry": true,
- "point_expiration_rule": {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0
}, - "account_closure_points_expire": "string",
- "display_online": true,
- "enforce_static_ip": true,
- "brand_id": 0,
- "google_maps_url": "string",
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "bonus_on_registration": [
- {
- "bonus_on_registration": true,
- "active": true,
- "points": 0,
- "issued_by": "string",
- "product_id": "string",
- "product_name": "string"
}
], - "estatement_config": [
- {
- "logo_url": "string",
- "color_gradient1": true,
- "color_gradient2": "string",
- "color_title": "string",
- "color_button": "string"
}
], - "translations": [
- {
- "general": [
- {
- "id": 0,
- "lang_id": 0,
- "field": "string",
- "value": "string"
}
], - "websites": [
- {
- "lang_id": 0,
- "website": "string"
}
]
}
]
}
}{- "data": {
- "id": "string",
- "ucid": "string",
- "code": "string",
- "status": "string",
- "name": "string",
- "prefix": "string",
- "color": "string",
- "secondary_color": "string",
- "parent_partner_mapping_id": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "whatsapp_number": "string",
- "contact_website": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "prevent_multiple_login": true,
- "automatic_transaction_import": true,
- "is_top_level_partner": true,
- "category_id": "string",
- "network_id": "string",
- "lang_id": "string",
- "image_url": "string",
- "image_id": 0,
- "cover_image_url": "string",
- "cover_image_id": 0,
- "loyalty_program_logo_url": "string",
- "loyalty_program_logo_id": 0,
- "apple_wallet_logo": "string",
- "apple_wallet_logo_id": 0,
- "apple_wallet_icon": "string",
- "apple_wallet_icon_id": 0,
- "google_wallet_logo": "string",
- "google_wallet_logo_id": 0,
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "facebook": "string",
- "instagram": "string",
- "twitter": "string",
- "linkedin": "string",
- "youtube": "string",
- "watsapp": "string",
- "welcome_sms": "string",
- "program_name": [ ],
- "partner_name_subject": [ ],
- "partner_name_content": [ ],
- "copyright": "string",
- "support_email": "string",
- "sales_email": "string",
- "white_label_sales_email": "string",
- "from_email": "string",
- "website_url": "string",
- "send_feedback_to_sales": "string",
- "email_image_id": "string",
- "email_image_url": "string",
- "merchant_app": "string",
- "can_reward_inactive": true,
- "has_middleware": true,
- "link_middleware_api": "string",
- "password_expiry": true,
- "password_expiry_period": 0,
- "use_points_expiry": true,
- "point_expiration_rule": {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0
}, - "account_closure_points_expire": "string",
- "display_online": true,
- "enforce_static_ip": true,
- "brand_id": 0,
- "google_maps_url": "string",
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "bonus_on_registration": [
- {
- "bonus_on_registration": true,
- "active": true,
- "points": 0,
- "issued_by": "string",
- "product_id": "string",
- "product_name": "string"
}
], - "estatement_config": [
- {
- "logo_url": "string",
- "color_gradient1": true,
- "color_gradient2": "string",
- "color_title": "string",
- "color_button": "string"
}
], - "translations": [
- {
- "general": [
- {
- "id": 0,
- "lang_id": 0,
- "field": "string",
- "value": "string"
}
], - "websites": [
- {
- "lang_id": 0,
- "website": "string"
}
]
}
]
}
}| partner_id required | string |
| name | string |
| code | string |
| status | string Enum: "Enabled" "Disabled" "Suspended" |
| network_id | string |
| merchant_app | string |
| contact_email | string |
| category_id | string |
| image_id | string |
| cover_image_id | string |
| loyalty_program_logo_id | string |
| apple_wallet_logo_id | string |
| apple_wallet_icon_id | string |
| google_wallet_logo_id | string |
| email_image | string |
| lang_id | string |
| contact_website | string |
| password_expiry | integer |
| password_expiry_period | string |
| point_expiration_rule_id | integer or null The partner's default point expiration rule. Must belong to this partner and be active — a deactivated rule keeps being applied to points already earned, but cannot be saved on the partner any more. Required when |
| account_closure_points_expire | boolean |
| bonus_on_registration | string |
| parent_id | string |
string | |
string | |
string | |
| youtube | string |
string | |
| bonus_on_registration_issued_by | string |
| bonus_on_registration_reward_points | string |
| bonus_on_registration_active | string |
| bonus_on_registration_product | string |
| estatement_config_logo | string |
| estatement_config_color_gradient1 | string |
| estatement_config_color_gradient2 | string |
| estatement_config_color_title | string |
| estatement_config_color_button | string |
| program_name | Array of arrays |
| partner_name_subject | Array of arrays |
| partner_name_content | Array of arrays |
| copyright | string |
| support_email | string |
| sales_email | string |
| white_label_sales_email | string |
| send_feedback_to_sales | string |
| from_email | string |
| website_url | string |
| email_image_id | string |
| can_reward_inactive | string |
| prevent_multiple_login | string |
| is_top_level_partner | string |
| automatic_transaction_import | string |
| contact_name | string |
| contact_number | string |
| whatsapp_number | string |
| general_manager | string |
| marketing_manager | string |
| country_id | string |
| area_id | string |
| city_id | string |
| address_1 | string |
| address_2 | string |
| prefix | string |
| color | string |
| secondary_color | string |
| parent_partner_mapping_id | string Enum: "default" "3-steps barcode" |
| description | string |
| has_middleware | boolean |
| link_middleware_api | string |
| display_online | string |
| enforce_static_ip | string |
| brand_id | integer |
| google_maps_url | string |
| attribute1 | string |
| attribute2 | string |
| attribute3 | string |
| attribute4 | string |
| attribute5 | string |
Array of objects |
{- "name": "string",
- "code": "string",
- "status": "Enabled",
- "network_id": "string",
- "merchant_app": "string",
- "contact_email": "string",
- "category_id": "string",
- "image_id": "string",
- "cover_image_id": "string",
- "loyalty_program_logo_id": "string",
- "apple_wallet_logo_id": "string",
- "apple_wallet_icon_id": "string",
- "google_wallet_logo_id": "string",
- "email_image": "string",
- "lang_id": "string",
- "contact_website": "string",
- "password_expiry": 0,
- "password_expiry_period": "string",
- "point_expiration_rule_id": 0,
- "account_closure_points_expire": true,
- "bonus_on_registration": "string",
- "parent_id": "string",
- "facebook": "string",
- "instagram": "string",
- "linkedin": "string",
- "youtube": "string",
- "twitter": "string",
- "bonus_on_registration_issued_by": "string",
- "bonus_on_registration_reward_points": "string",
- "bonus_on_registration_active": "string",
- "bonus_on_registration_product": "string",
- "estatement_config_logo": "string",
- "estatement_config_color_gradient1": "string",
- "estatement_config_color_gradient2": "string",
- "estatement_config_color_title": "string",
- "estatement_config_color_button": "string",
- "program_name": [ ],
- "partner_name_subject": [ ],
- "partner_name_content": [ ],
- "copyright": "string",
- "support_email": "string",
- "sales_email": "string",
- "white_label_sales_email": "string",
- "send_feedback_to_sales": "string",
- "from_email": "string",
- "website_url": "string",
- "email_image_id": "string",
- "can_reward_inactive": "string",
- "prevent_multiple_login": "string",
- "is_top_level_partner": "string",
- "automatic_transaction_import": "string",
- "contact_name": "string",
- "contact_number": "string",
- "whatsapp_number": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "prefix": "string",
- "color": "string",
- "secondary_color": "string",
- "parent_partner_mapping_id": "default",
- "description": "string",
- "has_middleware": true,
- "link_middleware_api": "string",
- "display_online": "string",
- "enforce_static_ip": "string",
- "brand_id": 0,
- "google_maps_url": "string",
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "website_translations": [
- {
- "lang_id": 0,
- "value": "string"
}
]
}{- "data": {
- "id": "string",
- "ucid": "string",
- "code": "string",
- "status": "string",
- "name": "string",
- "prefix": "string",
- "color": "string",
- "secondary_color": "string",
- "parent_partner_mapping_id": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "whatsapp_number": "string",
- "contact_website": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "prevent_multiple_login": true,
- "automatic_transaction_import": true,
- "is_top_level_partner": true,
- "category_id": "string",
- "network_id": "string",
- "lang_id": "string",
- "image_url": "string",
- "image_id": 0,
- "cover_image_url": "string",
- "cover_image_id": 0,
- "loyalty_program_logo_url": "string",
- "loyalty_program_logo_id": 0,
- "apple_wallet_logo": "string",
- "apple_wallet_logo_id": 0,
- "apple_wallet_icon": "string",
- "apple_wallet_icon_id": 0,
- "google_wallet_logo": "string",
- "google_wallet_logo_id": 0,
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "address_1": "string",
- "address_2": "string",
- "facebook": "string",
- "instagram": "string",
- "twitter": "string",
- "linkedin": "string",
- "youtube": "string",
- "watsapp": "string",
- "welcome_sms": "string",
- "program_name": [ ],
- "partner_name_subject": [ ],
- "partner_name_content": [ ],
- "copyright": "string",
- "support_email": "string",
- "sales_email": "string",
- "white_label_sales_email": "string",
- "from_email": "string",
- "website_url": "string",
- "send_feedback_to_sales": "string",
- "email_image_id": "string",
- "email_image_url": "string",
- "merchant_app": "string",
- "can_reward_inactive": true,
- "has_middleware": true,
- "link_middleware_api": "string",
- "password_expiry": true,
- "password_expiry_period": 0,
- "use_points_expiry": true,
- "point_expiration_rule": {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0
}, - "account_closure_points_expire": "string",
- "display_online": true,
- "enforce_static_ip": true,
- "brand_id": 0,
- "google_maps_url": "string",
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "bonus_on_registration": [
- {
- "bonus_on_registration": true,
- "active": true,
- "points": 0,
- "issued_by": "string",
- "product_id": "string",
- "product_name": "string"
}
], - "estatement_config": [
- {
- "logo_url": "string",
- "color_gradient1": true,
- "color_gradient2": "string",
- "color_title": "string",
- "color_button": "string"
}
], - "translations": [
- {
- "general": [
- {
- "id": 0,
- "lang_id": 0,
- "field": "string",
- "value": "string"
}
], - "websites": [
- {
- "lang_id": 0,
- "website": "string"
}
]
}
]
}
}| partner_id required | string |
| country_id required | string Country Id that you want attach to partner |
{- "country_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| partner_id required | string |
| channel_id required | string Channel Id that you want attach to partner |
{- "channel_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| partner_id required | string |
| name required | string |
| lng | number |
| lat | number |
| mapping_id | string |
| display_online | boolean |
| allow_booking | boolean |
| beacon_id | string |
| beacon_name | string |
| beacon_major | integer |
| beacon_minor | integer |
| opening_hours | string |
| country_id | string |
| area_id | string |
| city_id | string |
| street | string |
| floor | string |
| building | string |
| details | string |
required | Array of objects |
{- "name": "string",
- "lng": 0,
- "lat": 0,
- "mapping_id": "string",
- "display_online": true,
- "allow_booking": true,
- "beacon_id": "string",
- "beacon_name": "string",
- "beacon_major": 0,
- "beacon_minor": 0,
- "opening_hours": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "street": "string",
- "floor": "string",
- "building": "string",
- "details": "string",
- "pos": [
- {
- "name": "string",
- "mapping_id": "string"
}
]
}{- "data": {
- "name": "string",
- "lng": 0,
- "lat": 0,
- "mapping_id": "string",
- "display_online": true,
- "allow_booking": true,
- "beacon_id": "string",
- "beacon_name": "string",
- "beacon_major": 0,
- "beacon_minor": 0,
- "opening_hours": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "street": "string",
- "floor": "string",
- "building": "string",
- "details": "string",
- "pos": [
- {
- "name": "string",
- "mapping_id": "string"
}
]
}
}| partner_id required | string |
| store_id required | string |
{- "data": {
- "name": "string",
- "lng": 0,
- "lat": 0,
- "mapping_id": "string",
- "display_online": true,
- "allow_booking": true,
- "beacon_id": "string",
- "beacon_name": "string",
- "beacon_major": 0,
- "beacon_minor": 0,
- "opening_hours": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "street": "string",
- "floor": "string",
- "building": "string",
- "details": "string",
- "pos": [
- {
- "name": "string",
- "mapping_id": "string"
}
]
}
}| partner_id required | string |
| store_id required | string |
| name required | string |
| lng | number |
| lat | number |
| mapping_id | string |
| display_online | boolean |
| allow_booking | boolean |
| beacon_id | string |
| beacon_name | string |
| beacon_major | integer |
| beacon_minor | integer |
| opening_hours | string |
| country_id | string |
| area_id | string |
| city_id | string |
| street | string |
| floor | string |
| building | string |
| details | string |
required | Array of objects |
{- "name": "string",
- "lng": 0,
- "lat": 0,
- "mapping_id": "string",
- "display_online": true,
- "allow_booking": true,
- "beacon_id": "string",
- "beacon_name": "string",
- "beacon_major": 0,
- "beacon_minor": 0,
- "opening_hours": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "street": "string",
- "floor": "string",
- "building": "string",
- "details": "string",
- "pos": [
- {
- "name": "string",
- "mapping_id": "string"
}
]
}{- "data": {
- "name": "string",
- "lng": 0,
- "lat": 0,
- "mapping_id": "string",
- "display_online": true,
- "allow_booking": true,
- "beacon_id": "string",
- "beacon_name": "string",
- "beacon_major": 0,
- "beacon_minor": 0,
- "opening_hours": "string",
- "country_id": "string",
- "area_id": "string",
- "city_id": "string",
- "street": "string",
- "floor": "string",
- "building": "string",
- "details": "string",
- "pos": [
- {
- "name": "string",
- "mapping_id": "string"
}
]
}
}| partner_id required | string |
| store_id required | string |
| pos_id required | string |
| name | string |
| mapping_id | string |
{- "name": "string",
- "mapping_id": "string"
}{- "data": {
- "name": "string",
- "mapping_id": "string"
}
}| partner_id required | string |
| linked_partner_id required | string Partner Id that you want link to partner |
{- "linked_partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| partner_id required | string |
| report_id required | string Report Id that you want attach to partner |
| frequency required | string Enum: "not selected" "daily" "weekly" "monthly" "yearly" Report frequency |
{- "report_id": "string",
- "frequency": "not selected"
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "frequency": "string"
}
]
}| partner_id required | string Partner ID |
| lang_id required | integer Lang ID |
| field required | string Enum: "name" "description" "website" Field name |
| value required | string Translation value |
{- "data": {
- "general": [
- {
- "id": 0,
- "lang_id": 0,
- "field": "string",
- "value": "string"
}
], - "websites": [
- {
- "lang_id": 0,
- "website": "string"
}
]
}
}view_accor_reports
| start_date required | string Min value for processing date |
| end_date required | string Max value for processing date |
| partner_ids required | Array of arrays Filter by partners |
{- "data": [
- {
- "transaction_id": 0,
- "processing_date": "string",
- "import_file_name": "string",
- "line_number": "string",
- "partner_code": "string",
- "partner_name": "string",
- "vpo": "string",
- "country_name": "string",
- "area_name": "string",
- "city_name": "string",
- "reference_number": "string",
- "member_full_name": "string",
- "guest_full_name": "string",
- "loyalty_program_name": "string",
- "loyalty_rule_name": "string",
- "net_amount": 0,
- "currency_code": "string",
- "net_amount_usd": 0,
- "points_rewarded": 0,
- "booking_date": "string",
- "checkin_date": "string",
- "checkout_date": "string",
- "stay_duration": 0,
- "market_segment_code": "string",
- "rate_code": "string"
}
]
}view_accor_reports
| start_date required | string Min value for processing date |
| end_date required | string Max value for processing date |
| partner_ids required | Array of arrays Filter by partners |
{- "data": {
- "points_rewarded_count": 0,
- "points_rewarded_sum": 0,
- "total_amount_sum_usd": 0
}
}view_accor_reports
| start_date required | string Min value for processing date |
| end_date required | string Max value for processing date |
| partner_ids required | Array of arrays Filter by partners |
{- "message": "Bearer token is invalid"
}view_accor_reports
| start_date required | string Min value for processing date |
| end_date required | string Max value for processing date |
| partner_ids required | Array of arrays Filter by partners |
{- "data": [
- {
- "transaction_id": 0,
- "processing_date": "string",
- "import_file_name": "string",
- "line_number": "string",
- "partner_code": "string",
- "partner_name": "string",
- "eco2": "string",
- "vpo": "string",
- "country_name": "string",
- "area_name": "string",
- "city_name": "string",
- "reference_number": "string",
- "member_full_name": "string",
- "guest_full_name": "string",
- "loyalty_program_name": "string",
- "loyalty_rule_name": "string",
- "net_amount": 0,
- "currency_code": "string",
- "net_amount_usd": 0,
- "points_rewarded": 0,
- "net_amount_usd_fee": 0,
- "booking_date": "string",
- "checkin_date": "string",
- "checkout_date": "string",
- "stay_duration": 0,
- "market_segment_code": "string",
- "rate_code": "string"
}
]
}view_accor_reports
| start_date required | string Min value for processing date |
| end_date required | string Max value for processing date |
| partner_ids required | Array of arrays Filter by partners |
{- "data": {
- "points_rewarded_count": 0,
- "points_rewarded_sum": 0,
- "total_amount_sum_usd": 0,
- "total_amount_fee_usd": 0
}
}view_accor_reports
| start_date required | string Min value for processing date |
| end_date required | string Max value for processing date |
| partner_ids required | Array of arrays Filter by partners |
{- "message": "Bearer token is invalid"
}view_blu_internal_reports
Array of objects transaction date | |
Array of objects transaction date | |
| network_id | string Filter by network |
| partner_ids | string Filter by partners |
| member_id | string Filter by member |
{- "data": [
- {
- "order_id": "string",
- "order_date": "string",
- "transaction_id": "string",
- "transaction_date": "string",
- "partner_name": "string",
- "reference_number": "string",
- "member_name": "string",
- "mobile_number": "string",
- "redemption_category": "string",
- "points_redeemed": "string",
- "points_redeemed_value": {
- "amount": 0.1,
- "currency": "string"
}, - "cash_paid": {
- "amount": 0.1,
- "currency": "string"
}
}
]
}view_blu_internal_reports
| transaction_start_date | string Min value for transaction date |
| transaction_end_date | string Max value for transaction date |
| order_start_date | string Min value for order date |
| order_end_date | string Max value for order date |
| network_id | string Filter by network |
| partner_ids | string Filter by partners |
| member_id | string Filter by member |
{- "message": "Bearer token is invalid"
}view_blu_internal_reports
| transaction_start_date | string Min value for transaction date |
| transaction_end_date | string Max value for transaction date |
| order_start_date | string Min value for order date |
| order_end_date | string Max value for order date |
| network_id | string Filter by network |
| partner_ids | string Filter by partners |
| member_id | string Filter by member |
{- "data": {
- "total_points_redeemed": 0,
- "total_points_value": {
- "amount": 0.1,
- "currency": "string"
}, - "transaction_count": 0
}
}view_basic_reports
required | Array of objects transaction date |
| transaction_date_exclude | boolean Max value for transaction date |
Array of objects transaction date | |
| posting_date_exclude | boolean Determines if posting date should be in or out of given interval |
| partner_ids required | Array of arrays Filter by partners |
| network_ids required | Array of arrays Filter by networks |
| currency_id | integer Filter by member |
| member_id | integer Filter by member |
| new | boolean Force generate fresh report |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
required | Array of objects transaction date |
required | Array of objects transaction date |
| network_id | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id | integer Filter by member |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_partner_rewarded_points_reports
required | Array of objects Report date |
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| category_ids required | Array of arrays Filter by categories |
| currency_id | integer Display values in selected currency |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_reports
required | object Transaction dates |
| network_id required | integer Filter by partners |
| partner_ids required | Array of integers Filter by partners |
| span required | string Enum: "yearly" "monthly" "daily" |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
required | Array of objects transaction date |
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| merchant_ids required | Array of arrays Filter by merchants |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
required | Array of objects transaction date |
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| merchant_ids required | Array of arrays Filter by merchants |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_premium_reports
required | Array of objects transaction date |
| partner_id required | integer Filter by partners |
| network_id required | integer Filter by network |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
Array of objects transaction created date | |
Array of objects transaction posting date | |
| network_id required | integer Filter by network |
| partner_id required | Array of arrays Filter by partner |
{- "data": [
- {
- "process": {
- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}, - "records_structure": {
- "reference_number": "string",
- "full_name": "string",
- "mobile_number": "string",
- "points_rewarded": 0,
- "balance_points": 0
}, - "totals_structure": {
- "total_points_rewarded": 0,
- "posting_period": "string",
- "transaction_period": "string"
}
}
]
}view_blu_internal_reports
required | Array of objects transaction date |
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partners |
| member_ids | Array of integers Filter by members |
required | Array of objects transaction date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_premium_reports
required | Array of objects transaction date |
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
required | Array of objects transaction date |
| transaction_date_exclude required | boolean Determines if transaction date should be in or out of given interval |
required | Array of objects posting date |
| posting_date_exclude required | boolean Determines if posting date should be in or out of given interval |
| partner_ids required | Array of arrays Filter by partners |
| network_id required | integer Filter by network |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| partner_id required | integer Filter by partner |
| network_id required | integer Filter by network |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_premium_reports
| partner_id required | Array of arrays Filter by partner |
| network_id required | Array of arrays Filter by network |
Array of objects |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id | integer Filter by member |
| currency_id | integer Currency id |
required | Array of objects posting date |
required | Array of objects transaction date |
| posting_date_exclude | boolean Exclude posting date |
| transaction_date_exclude | boolean Exclude transaction date |
| max_records | integer Exclude transaction date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}pay_with_points_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
required | Array of objects Order creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id required | integer Filter by member |
required | Array of objects Order creation date |
required | Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_premium_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
required | Array of objects Creation date range |
| adjustment_type | string Enum: "reward" "redemption" The type of the adjustment |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_admin_management_and_audit_reports
| network_id required | integer Filter by network |
| partner_ids | Array of arrays Filter by partners |
| admin_id required | integer Filter by admin |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_partner_rewarded_points_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id required | integer Filter by member |
required | Array of objects Order creation date |
required | Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_partner_rewarded_points_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id required | integer Filter by member |
required | Array of objects Order creation date |
required | Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
required | Array of objects Date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_pending_rewards_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id | integer Filter by member |
| transaction_date_exclude | boolean Exclude posted date |
| created_date_exclude | boolean Exclude created date |
required | Array of objects Transaction posted date |
Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id | integer Filter by member |
| transaction_date_exclude | boolean Exclude date |
required | Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_pending_rewards_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| member_id | integer Filter by member |
required | Array of objects Transaction posted date |
required | Array of objects Transaction creation date |
| transaction_date_exclude | boolean Determines if transaction date should be in or out of given interval |
| posting_date_exclude | boolean Determines if posting date should be in or out of given interval |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
required | Array of objects Order creation date |
| order_statuses | Array of arrays |
| affiliate_program_codes | Array of arrays |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_partner_rewarded_points_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
required | Array of objects Order creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
required | Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| partner_id required | integer Filter by partner |
required | Array of objects Order creation date |
| is_reconciled | boolean Is reconciled |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| country_id | integer Filter by country |
| is_online | boolean Get online only |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| merchant_ids | Array of integers Filter by merchants |
Array of objects Redemption date | |
Array of objects Voucher used date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
required | Array of objects Filter by date |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partners |
| member_id | integer Filter by member |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
Array of objects | |
Array of objects | |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partners |
| member_id | integer Filter by member |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_premium_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
required | Array of objects Date |
| user_statuses | string user statuses separated by comma |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| period required | string Enum: "daily" "monthly" "yearly" |
required | Array of objects Transaction creation date |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}Queues a background ETL job that produces a CSV with one row per survey, enriched
with engagement metrics scoped by activity date: invitations created and responses
submitted within [date.from, date.to]. The survey's lifecycle dates are surfaced as
columns but are not used for filtering metrics.
Requires view_blu_internal_reports permission.
| partner_ids | Array of integers Filter by partners (must be within the admin's managed partners) |
| status_ids | Array of integers Items Enum: 1 2 3 4 5 Filter by survey status. Values: 1=Draft, 2=Active, 3=Paused, 4=Completed, 5=Scheduled. Scheduled surveys have not distributed yet and are always excluded from this report, so filtering by 5 returns no rows. |
object Activity date range. Filters invitation |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| segment_id required | integer Filter by segment |
| fields required | Array of strings Optional fields |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}Queues a background ETL job that produces the "Online Vouchers Redemption - Marketplace Partners" report: one row per marketplace online voucher order (OneCard, YouGotaGift, YouGotaGift Prepaid, Digital Value), identifiable by client order code and platform order code. Offline vouchers and non-item marketplace orders are excluded. Product Cost and Currency are the supplier cost frozen at order placement; orders placed before cost capture existed, and orders that never reached Approved (Pending, Rejected) and therefore have no projected cost, display N/A.
Requires view_blu_internal_reports permission.
required | object Order placement date range. Both bounds are required; |
| partner_ids required | Array of integers Filter by marketplace partners (must be within the admin's managed partners) |
| item_type | string Enum: "ygag" "one-card" "digital-value" Filter by supplier voucher item type. |
| order_status | integer Enum: 1 2 3 4 5 Filter by order status. Values: 1=Pending, 2=Approved, 3=Rejected, 4=Cancelled, 5=Reversed. |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_partner_rewarded_points_reports
required | Array of objects date |
| partner_id required | integer Filter by partner |
| network_id | integer Filter by network |
| member_id | integer Filter by member |
| card_number | string Filter by card number |
| transaction_status | string Enum: "posted" "pending" Filter by transaction status |
| new | boolean Force generate fresh report |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| currency_id required | integer |
| member_id | integer Filter by member |
| transaction_start_date | string Example: transaction_start_date=2022-04-04 |
| transaction_end_date | string Example: transaction_end_date=2022-04-04 |
| transaction_date_exclude | boolean |
| posting_start_date | string Example: posting_start_date=2022-04-04 |
| posting_end_date | string Example: posting_end_date=2022-04-04 |
| posting_date_exclude | string Enum: "0" "1" |
{- "data": [
- {
- "id": "string",
- "reference": "string",
- "member_name": "string",
- "created_at_date": "2022-04-01",
- "posted_at_date": "2022-04-01",
- "file_name": "string",
- "line_number": "string",
- "store_name": "string",
- "loyalty_name": "string",
- "rule_name": "string",
- "points_rewarded": "string",
- "amount_spent_usd": "string",
- "billing_amount": "string",
- "billing_currency_code": "string",
- "transaction_amount": "string",
- "transaction_currency_code": "string"
}
]
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| currency_id required | integer |
| member_id | integer Filter by member |
| transaction_start_date | string Example: transaction_start_date=2022-04-04 |
| transaction_end_date | string Example: transaction_end_date=2022-04-04 |
| transaction_date_exclude | boolean |
| posting_start_date | string Example: posting_start_date=2022-04-04 |
| posting_end_date | string Example: posting_end_date=2022-04-04 |
| posting_date_exclude | boolean |
{- "data": {
- "number_of_reward_transactions": 0,
- "total_points_rewarded": 0,
- "total_amount_rewarded": {
- "amount": 0.1,
- "currency": "string"
}
}
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
| currency_id required | integer |
| member_id | integer Filter by member |
| transaction_start_date | string Example: transaction_start_date=2022-04-04 |
| transaction_end_date | string Example: transaction_end_date=2022-04-04 |
| transaction_date_exclude | boolean |
| posting_start_date | string Example: posting_start_date=2022-04-04 |
| posting_end_date | string Example: posting_end_date=2022-04-04 |
| posting_date_exclude | string Enum: "0" "1" |
| max_records | integer Maximum allowed records to export |
{- "message": "Bearer token is invalid"
}view_basic_reports
| partner_id required | integer Filter by partner |
{- "data": [
- {
- "id": 0,
- "ucid": "string",
- "status": "string",
- "lang_name": "string",
- "reference_id": "string",
- "customer_name": "string",
- "mobile": "string",
- "email": "string",
- "gender": "string",
- "dob": "string",
- "country_name": "string",
- "state_name": "string",
- "city_name": "string",
- "points_balance": 0
}
]
}view_basic_reports
| network_id required | integer Filter by network |
| partner_id required | any Filter by partner |
| segment_id required | any Filter by segment |
| fields | string Enum: "user_id" "reference_id" "ucid" "unique_partner_id" "first_name" "middle_name" "last_name" "gender" "age" "email" "user_status" "mobile_number" "marital_status" "num_children" "country" "city" "area" "occupation" "income_bracket" "dob" "points_balance" "next_points_to_expire" "company_name" "preferred_language" "nationality" |
{- "data": [
- {
- "user_id": "string",
- "reference_id": "string",
- "ucid": "string",
- "unique_partner_id": "2022-04-01",
- "first_name": "2022-04-01",
- "file_name": "string",
- "middle_name": "string",
- "last_name": "string",
- "gender": "string",
- "age": "string",
- "email": "string",
- "user_status": "string",
- "mobile_number": "string",
- "marital_status": "string",
- "num_children": "string",
- "country": "string",
- "city": "string",
- "area": "string",
- "occupation": "string",
- "income_bracket": "string",
- "dob": "string",
- "points_balance": "string",
- "next_points_to_expire": "string",
- "company_name": "string",
- "nationality": "string",
- "preferred_language": "string"
}
]
}view_basic_reports
| network_id required | integer Filter by network |
| partner_id required | any Filter by partner |
| segment_id required | any Filter by segment |
| fields | string Enum: "user_id" "reference_id" "ucid" "unique_partner_id" "first_name" "middle_name" "last_name" "gender" "age" "email" "user_status" "mobile_number" "marital_status" "num_children" "country" "city" "area" "occupation" "income_bracket" "dob" "points_balance" "next_points_to_expire" "company_name" "preferred_language" "nationality" |
{- "message": "Bearer token is invalid"
}view_basic_reports
| network_id required | integer Filter by network |
| start_date required | string Example: start_date=2022-01-01 Filter by start date |
| end_date required | string Example: end_date=2022-01-02 Filter by end date |
| member_id required | integer Filter by members |
| currency_id | integer Default: 6 Show result in selected currency |
{- "data": [
- {
- "id": 0,
- "date": "string",
- "partner_name": "string",
- "type": "reversal",
- "rule_name": "string",
- "points": "string",
- "amount": 0,
- "notes": "string",
- "ref_number": "string"
}
]
}view_basic_reports
| network_id required | integer Filter by network |
| start_date required | string Example: start_date=2022-01-01 Filter by start date |
| end_date required | string Example: end_date=2022-01-02 Filter by end date |
| member_id required | integer Filter by members |
| currency_id | integer Default: 6 Show result in selected currency |
{- "data": [
- {
- "amt_redeem": 0,
- "amt_reward": 0,
- "pts_redeem": 0,
- "pts_reward": 0,
- "trx_redeem": 0,
- "trx_reward": 0
}
]
}view_basic_reports
| network_id required | integer Filter by network |
| start_date required | string Example: start_date=2022-01-01 Filter by start date |
| end_date required | string Example: end_date=2022-01-02 Filter by end date |
| member_id required | integer Filter by members |
| currency_id | integer Default: 6 Show result in selected currency |
{- "message": "Bearer token is invalid"
}view_basic_reports
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partners |
required | Array of objects transaction date |
| member_id required | integer Filter by members |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
required | Array of objects transaction date |
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
required | Array of objects transaction date |
| network_id required | integer Filter by network |
| partner_ids required | Array of arrays Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_premium_reports
| start_date required | string Min value for points expiration date |
| end_date required | string Max value for points expiration date |
| partner_id required | Array of arrays Filter by partner |
| network_id required | integer Filter by network |
{- "data": [
- {
- "member_id": 0,
- "reference_number": "string",
- "partner_user_code": "string",
- "member_name": "string",
- "next_expiry_date": "string",
- "points_to_expire": 0,
- "current_balance": 0
}
]
}view_premium_reports
| start_date required | string Min value for points expiration date |
| end_date required | string Max value for points expiration date |
| partner_id required | Array of arrays Filter by partner |
| network_id required | integer Filter by network |
{- "data": {
- "unique_members_count": 0,
- "total_points_to_expire": 0,
- "next_expiry_date": "string"
}
}view_premium_reports
| start_date required | string Min value for points expiration date |
| end_date required | string Max value for points expiration date |
| partner_id required | Array of arrays Filter by partner |
| network_id required | integer Filter by network |
{- "message": "Bearer token is invalid"
}view_premium_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| start_date required | string Min value for transaction date |
| end_date required | string Max value for transaction date |
{- "data": [
- {
- "transaction_id": 0,
- "reference_number": "string",
- "member_name": "string",
- "transaction_date": "string",
- "points": "string",
- "amount": "string",
- "transaction_currency": "string"
}
]
}view_premium_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| start_date required | string Min value for transaction date |
| end_date required | string Max value for transaction date |
{- "message": "Bearer token is invalid"
}view_premium_reports
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
| start_date required | string Min value for transaction date |
| end_date required | string Max value for transaction date |
{- "data": {
- "number_of_transactions": 0,
- "points": 0
}
}view_admin_management_and_audit_reports
| start_date required | string Min value for event date |
| end_date required | string Max value for event date |
| actions required | Array of arrays Filter by actions |
| type required | string Filter by type |
| partner_id required | integer Filter by partner |
| success required | boolean Filter by success (0|1) |
{- "data": [
- {
- "id": 0,
- "identity_id": 0,
- "identity_name": "string",
- "ip_address": "string",
- "date": "string",
- "action": "string",
- "detail": "string",
- "old_value": "string",
- "new_value": "string"
}
]
}view_admin_management_and_audit_reports
| start_date required | string Min value for event date |
| end_date required | string Max value for event date |
| actions required | Array of arrays Filter by actions |
| type required | string Filter by type |
| partner_id required | integer Filter by partner |
{- "message": "Bearer token is invalid"
}view_premium_reports
| partner_ids required | Array of integers Filter by partners |
| network_id required | integer Filter by network |
| start_date required | string Example: start_date=2022-01-01 Filter by starting date |
| end_date required | string Example: end_date=2022-01-02 Filter by ending date |
| currency_id | integer Default: 6 Show result in selected currency |
{- "data": [
- {
- "period": "string",
- "reference": "string",
- "member_name": "string",
- "points_redeemed": 0,
- "total_amount_paid": 0
}
]
}view_premium_reports
| partner_ids required | Array of integers Filter by partners |
| network_id required | integer Filter by network |
| start_date required | string Example: start_date=2022-01-01 Filter by starting date |
| end_date required | string Example: end_date=2022-01-02 Filter by ending date |
| currency_id | integer Default: 6 Show result in selected currency |
{- "data": {
- "redeemed_trx_count": 0,
- "points_sum": 0,
- "redeemed_amount": 0
}
}view_premium_reports
| partner_ids required | Array of integers Filter by partners |
| network_id required | integer Filter by network |
| start_date required | string Example: start_date=2022-01-01 Filter by starting date |
| end_date required | string Example: end_date=2022-01-02 Filter by ending date |
| currency_id | integer Default: 6 Show result in selected currency |
{- "message": "Bearer token is invalid"
}view_premium_reports
required | Array of objects Report period |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partner |
| currency_id required | integer Show amount in given currency |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
| start_date required | string Min value for order creation date |
| end_date required | string Max value for order creation date |
| partner_ids required | Array of arrays Filter by partners |
| order_status | string Enum: "Ordered" "Reversal" Filter by status |
| item_type | string Enum: "ygag" "one-card" "digital-value" "loynova" Filter by supplier |
{- "data": [
- {
- "supplier_name": "string",
- "order_date": "string",
- "transaction_id": 0,
- "partner_name": "string",
- "reference_number": "string",
- "product_name": "string",
- "product_currency": "string",
- "product_cost": 0,
- "supplier_order_code": "string"
}
]
}view_blu_internal_reports
| start_date required | string Min value for order creation date |
| end_date required | string Max value for order creation date |
| partner_ids required | Array of arrays Filter by partners |
| order_status | string Enum: "Ordered" "Reversal" Filter by status |
| item_type | string Enum: "ygag" "one-card" "digital-value" "loynova" Filter by supplier |
{- "message": "Bearer token is invalid"
}view_blu_internal_reports
required | Array of objects transaction date |
| partner_ids required | Array of arrays Filter by partners |
| order_status | string Enum: "Ordered" "Reversal" Filter by status |
| item_type | string Enum: "ygag" "one-card" "digital-value" "loynova" Filter by supplier |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_redemption_partner_rewarded_points_reports
| partner_id | string |
| network_id | string |
| member_id | string |
| affiliate_program_codes | Array of strings |
| order_statuses | Array of strings Items Enum: "approved" "rejected" "reverted" |
Array of objects | |
Array of objects |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
| start_date required | string Min value for points expiration date |
| end_date required | string Max value for points expiration date |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partner |
| product_ids | Array of integers Filter by product |
| supplier_ids | Array of integers Filter by supplier |
{- "data": [
- {
- "transaction_id": 0,
- "partner_name": "string",
- "reference": "string",
- "batch_name": "string",
- "product_id": 0,
- "product_name": "string",
- "voucher_code": "string",
- "supplier_name": "string",
- "date": "string"
}
]
}view_blu_internal_reports
| start_date required | string Min value for points expiration date |
| end_date required | string Max value for points expiration date |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partner |
| product_ids | Array of integers Filter by product |
| supplier_ids | Array of integers Filter by supplier |
{- "data": {
- "count": 0
}
}view_blu_internal_reports
| start_date required | string Min value for points expiration date |
| end_date required | string Max value for points expiration date |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partner |
| product_ids | Array of integers Filter by product |
| supplier_ids | Array of integers Filter by supplier |
{- "message": "Bearer token is invalid"
}view_premium_reports
| partner_ids required | Array of integers Filter by partners |
| start_date required | string Example: start_date=2022-01-01 Filter by starting date |
| end_date required | string Example: end_date=2022-01-02 Filter by ending date |
{- "data": {
- "id": 0,
- "reference": "string",
- "member_name": "string",
- "partner_user_code": "string",
- "partner_name": "string",
- "date": "string",
- "points": 0,
- "amount": 0,
- "currency": "string"
}
}view_premium_reports
| partner_ids required | Array of integers Filter by partners |
| start_date required | string Example: start_date=2022-01-01 Filter by starting date |
| end_date required | string Example: end_date=2022-01-02 Filter by ending date |
{- "data": {
- "sum_points": "string",
- "count_points": "string"
}
}view_premium_reports
| partner_ids required | Array of integers Filter by partner |
| start_date required | string Example: start_date=2022-01-01 Filter by starting date |
| end_date required | string Example: end_date=2022-01-02 Filter by ending date |
{- "message": "Bearer token is invalid"
}view_premium_reports
| start_date required | string Min value for registration date |
| end_date required | string Max value for registration date |
| partner_ids required | Array of arrays Filter by partner |
{- "data": [
- {
- "partner_code": "string",
- "partner_name": "string",
- "number_of_registrations": 0
}
]
}view_premium_reports
| start_date required | string Min value for registration date |
| end_date required | string Max value for registration date |
| partner_ids required | Array of arrays Filter by partner |
{- "data": {
- "number_of_registrations": 0
}
}view_premium_reports
| start_date required | string Min value for registration date |
| end_date required | string Max value for registration date |
| partner_ids required | Array of arrays Filter by partner |
{- "message": "Bearer token is invalid"
}view_premium_reports
| start_date required | string Min value for member registration date |
| end_date required | string Max value for member registration date |
| partner_id required | integer Filter by partner |
| store_id | integer Filter by store |
| member_id | integer Filter by member |
{- "data": [
- {
- "member_id": 0,
- "reference_number": "string",
- "member_name": "string",
- "registration_date": "string",
- "registration_source": "string",
- "member_mobile": "string",
- "first_time_login": true,
- "first_login_date": "string",
- "channel": "string",
- "first_transaction_date": "string"
}
]
}view_premium_reports
| start_date required | string Min value for member registration date |
| end_date required | string Max value for member registration date |
| partner_id required | Array of arrays Filter by partner |
| store_id | integer Filter by store |
| member_id | integer Filter by member |
{- "message": "Bearer token is invalid"
}view_premium_reports
required | Array of objects Report period |
| partner_id required | integer Filter by partner |
| network_id required | integer Filter by network |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
required | Array of objects Transaction date |
required | Array of objects Order date |
| network_id required | integer Filter by network |
| partner_id required | integer Filter by partner |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_blu_internal_reports
required | Array of objects Filter by date |
| partner_ids | string Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_marketplace_reports
required | Array of objects Order date |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_marketplace_reports
required | Array of objects Order date |
| network_id required | integer Filter by network |
| partner_ids required | Array of integers Filter by partners |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}view_report_schedule
| report_codes | Array of strings |
| manager_partner_ids | Array of integers |
| frequencies | Array of integers |
| is_active | boolean |
| start_date | string <date> |
| end_date | string <date> |
| search_phrase | string |
{- "data": [
- {
- "id": 0,
- "manager_partner_id": 0,
- "manager_partner_name": "string",
- "job_name": "string",
- "job_title": "string",
- "frequency": 0,
- "is_active": true,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24"
}
]
}create_report_schedule
required | object |
| job_name required | string |
| job_title required | string |
| recipients required | string |
| frequency required | integer |
| schedule_day | integer |
| is_active required | boolean |
| start_date required | string <date> |
| end_date required | string <date> |
| schedule_time required | string <partial-time> Time in 24-h format |
{- "request": {
- "date": {
- "from": "{date_from}",
- "to": "{date_to}"
}, - "network_id": 0,
- "member_id": 0
}, - "job_name": "string",
- "job_title": "string",
- "recipients": "string",
- "frequency": 0,
- "schedule_day": 0,
- "is_active": true,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "schedule_time": "string"
}{- "data": {
- "request": {
- "date": {
- "from": "{date_from}",
- "to": "{date_to}"
}, - "network_id": 0,
- "member_id": 0
}, - "job_name": "string",
- "job_title": "string",
- "recipients": "string",
- "frequency": 0,
- "schedule_day": 0,
- "is_active": true,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "schedule_time": "string",
- "id": 0,
- "manager_partner_id": 0,
- "manager_partner_name": "string"
}
}view_report_schedule
| id required | integer |
{- "data": {
- "request": {
- "date": {
- "from": "{date_from}",
- "to": "{date_to}"
}, - "network_id": 0,
- "member_id": 0
}, - "job_name": "string",
- "job_title": "string",
- "recipients": "string",
- "frequency": 0,
- "schedule_day": 0,
- "is_active": true,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "schedule_time": "string",
- "id": 0,
- "manager_partner_id": 0,
- "manager_partner_name": "string"
}
}edit_report_schedule
| id required | integer |
required | object |
| job_name required | string |
| job_title required | string |
| recipients required | string |
| frequency required | integer |
| schedule_day | integer |
| is_active required | boolean |
| start_date required | string <date> |
| end_date required | string <date> |
| schedule_time required | string <partial-time> Time in 24-h format |
{- "request": {
- "date": {
- "from": "{date_from}",
- "to": "{date_to}"
}, - "network_id": 0,
- "member_id": 0
}, - "job_name": "string",
- "job_title": "string",
- "recipients": "string",
- "frequency": 0,
- "schedule_day": 0,
- "is_active": true,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "schedule_time": "string"
}{- "data": {
- "request": {
- "date": {
- "from": "{date_from}",
- "to": "{date_to}"
}, - "network_id": 0,
- "member_id": 0
}, - "job_name": "string",
- "job_title": "string",
- "recipients": "string",
- "frequency": 0,
- "schedule_day": 0,
- "is_active": true,
- "start_date": "2019-08-24",
- "end_date": "2019-08-24",
- "schedule_time": "string",
- "id": 0,
- "manager_partner_id": 0,
- "manager_partner_name": "string"
}
}aco_reward_points_manual
| partner_id required | integer |
| membership_number required | string |
| reservation_number required | string |
| guest_first_name required | string |
| guest_last_name required | string |
| room_net_amount required | number |
| f_and_b_amount required | number |
| currency_id required | integer |
| market_segment_code required | string |
| booking_date | string |
| checkin_date | string |
| checkout_date | string |
| stay_duration | integer |
| rate_code | string |
| should_skip_max_amount_rule required | integer Enum: 0 1 |
{- "partner_id": 0,
- "membership_number": "string",
- "reservation_number": "string",
- "guest_first_name": "string",
- "guest_last_name": "string",
- "room_net_amount": 0,
- "f_and_b_amount": 0,
- "currency_id": 0,
- "market_segment_code": "string",
- "booking_date": "string",
- "checkin_date": "string",
- "checkout_date": "string",
- "stay_duration": 0,
- "rate_code": "string",
- "should_skip_max_amount_rule": 0
}{- "data": {
- "message": "string"
}
}view_categories
| id | string Search by id |
| partner_ids | Array of arrays Filter by partner or multiple partners |
| search | string Search by name |
| order_by | string Enum: "id_asc" "created_at_asc" "created_at_desc" Order by id, created_at (Ascending, Descending), by default ordered by id desc |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "created_at": "string"
}
]
}create_categories
| name required | string Partner category name |
| image_id | string Image ID |
{- "name": "string",
- "image_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "image_url": "string",
- "created_at": "string"
}
}view_categories
| id | string Search by id |
| partner_ids | Array of arrays Filter by partner or multiple partners |
| search | string Search by name |
| order_by | string Enum: "id_asc" "created_at_asc" "created_at_desc" Order by id, created_at (Ascending, Descending), by default ordered by id desc |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "created_at": "string"
}
]
}create_categories
| name required | string Partner category name |
| image_id | string Image ID |
{- "name": "string",
- "image_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "image_url": "string",
- "created_at": "string"
}
}edit_categories
| category_id required | string |
| name | string Partner category name |
| image_id | string Image ID |
{- "name": "string",
- "image_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "image_url": "string",
- "created_at": "string"
}
}edit_categories
| category_id required | string |
| partner_id required | string Partner Id that you want attach to partner category |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}view_categories
| category_id required | string |
| name required | string |
| lang_id required | string |
{- "name": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "language_name": "string"
}
}view_categories
| category_id required | string |
| id required | string |
| name required | string |
| lang_id | string |
{- "name": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "language_name": "string"
}
}| id | string Search by id |
| partner_ids | Array of arrays Filter by partner or multiple partners |
| tags | Array of arrays Filter by tag names |
| search | string Search by name |
| order_by | string Enum: "id_asc" "created_at_asc" "created_at_desc" Order by id, created_at (Ascending, Descending), by default ordered by id desc |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "parent_category_name": "string",
- "created_at": "string"
}
]
}create_categories
| name required | string Product category name |
| parent_category_id | integer Parent Category ID |
| web_image_id | string Web Image ID |
| mobile_image_id | string Mobile Image ID |
| tag_ids | Array of integers Tag ids |
{- "name": "string",
- "parent_category_id": 0,
- "web_image_id": "string",
- "mobile_image_id": "string",
- "tag_ids": [
- 0
]
}{- "data": {
- "id": "string",
- "name": "string",
- "web_image_url": "string",
- "web_image_id": 0,
- "mobile_image_url": "string",
- "mobile_image_id": 0,
- "parent_category": {
- "id": "string",
- "name": "Arabic"
}, - "tags": [
- {
- "id": "string",
- "name": "item_catalog"
}
], - "created_at": "string"
}
}view_categories
| category_id required | string |
{- "data": {
- "id": "string",
- "name": "string",
- "web_image_url": "string",
- "web_image_id": 0,
- "mobile_image_url": "string",
- "mobile_image_id": 0,
- "parent_category": {
- "id": "string",
- "name": "Arabic"
}, - "tags": [
- {
- "id": "string",
- "name": "item_catalog"
}
], - "created_at": "string"
}
}edit_categories
| category_id required | string |
| name required | string Product category name |
| parent_category_id | integer Parent Category ID |
| web_image_id | string Web Image ID |
| mobile_image_id | string Mobile Image ID |
| tag_ids | Array of integers Tag ids |
{- "name": "string",
- "parent_category_id": 0,
- "web_image_id": "string",
- "mobile_image_id": "string",
- "tag_ids": [
- 0
]
}{- "data": {
- "id": "string",
- "name": "string",
- "web_image_url": "string",
- "web_image_id": 0,
- "mobile_image_url": "string",
- "mobile_image_id": 0,
- "parent_category": {
- "id": "string",
- "name": "Arabic"
}, - "tags": [
- {
- "id": "string",
- "name": "item_catalog"
}
], - "created_at": "string"
}
}edit_categories
| category_id required | string |
| partner_id required | string Partner Id that you want attach to product category |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}view_categories
| category_id required | string |
| name required | string |
| lang_id required | string |
{- "name": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "language_name": "string"
}
}view_categories
| category_id required | string |
| id required | string |
| name required | string |
| lang_id | string |
{- "name": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "language_name": "string"
}
}view_products
| partner_ids | Array of arrays Filter by partners |
| brand_ids | Array of arrays Filter by brands |
| category_ids | Array of arrays Filter by categories |
| supplier_ids | Array of arrays Filter by suppliers |
| segment_ids | Array of arrays Filter by segments |
| product_type_ids | Array of arrays Filter by product types |
| display_channel_partner_ids | Array of arrays Filter by display channels |
| usage_types | string Enum: "reward" "redemption" "general" Filter by usage types |
| display_online | boolean Filter by display online |
| search_phrase | string Search by product name, brand name, model name, product map ID |
{- "data": [
- {
- "id": 1,
- "image_url": "string",
- "name": "string",
- "brand_name": "string",
- "model_name": "string",
- "category_name": "string",
- "partner_names": [
- "BLU Points",
- "AJIB"
], - "display_online": true
}
]
}create_products
| is_active required | boolean |
| name required | string |
| brand_id required | integer |
| category_id required | integer |
| model required | string |
| sub_model required | string |
| description required | string |
| cover_image_id | integer |
| image_ids | Array of arrays |
| is_voucher required | boolean |
| electronic_delivery required | boolean |
| weight | number <double> |
| volume | number <double> |
{- "is_active": true,
- "name": "string",
- "brand_id": 0,
- "category_id": 0,
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "cover_image_id": 0,
- "image_ids": [ ],
- "is_voucher": true,
- "electronic_delivery": true,
- "weight": 0.1,
- "volume": 0.1
}{- "data": {
- "id": "string",
- "ucid": "12909164-fc4a-432b-984b-bb6080b0ccd3",
- "name": "string",
- "status": "active",
- "brand_id": "string",
- "product_type_id": "string",
- "category_id": "string",
- "merchant_id": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "cover_image": {
- "id": 0,
- "url": "string"
}, - "images": [
- {
- "id": 0,
- "url": "string"
}
], - "is_voucher": true,
- "is_offline_voucher": true,
- "electronic_delivery": true,
- "weight": 0,
- "volume": 0
}
}view_products
| product_id required | string |
{- "data": {
- "id": "string",
- "ucid": "12909164-fc4a-432b-984b-bb6080b0ccd3",
- "name": "string",
- "status": "active",
- "brand_id": "string",
- "product_type_id": "string",
- "category_id": "string",
- "merchant_id": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "cover_image": {
- "id": 0,
- "url": "string"
}, - "images": [
- {
- "id": 0,
- "url": "string"
}
], - "is_voucher": true,
- "is_offline_voucher": true,
- "electronic_delivery": true,
- "weight": 0,
- "volume": 0
}
}edit_products
| product_id required | string |
| is_active required | boolean |
| name required | string |
| brand_id required | integer |
| category_id required | integer |
| model required | string |
| sub_model required | string |
| description required | string |
| cover_image_id | integer |
| image_ids | Array of arrays |
| is_voucher required | boolean |
| electronic_delivery required | boolean |
| weight | number <double> |
| volume | number <double> |
{- "is_active": true,
- "name": "string",
- "brand_id": 0,
- "category_id": 0,
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "cover_image_id": 0,
- "image_ids": [ ],
- "is_voucher": true,
- "electronic_delivery": true,
- "weight": 0.1,
- "volume": 0.1
}{- "data": {
- "id": "string",
- "ucid": "12909164-fc4a-432b-984b-bb6080b0ccd3",
- "name": "string",
- "status": "active",
- "brand_id": "string",
- "product_type_id": "string",
- "category_id": "string",
- "merchant_id": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "cover_image": {
- "id": 0,
- "url": "string"
}, - "images": [
- {
- "id": 0,
- "url": "string"
}
], - "is_voucher": true,
- "is_offline_voucher": true,
- "electronic_delivery": true,
- "weight": 0,
- "volume": 0
}
}view_products
| product_id required | string |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "language": {
- "id": "string",
- "name": "Arabic"
}
}
]
}edit_products
| product_id required | string |
| name required | string |
| model | string |
| sub_model | string |
| description | string |
| lang_id required | integer |
{- "name": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "lang_id": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "language": {
- "id": "string",
- "name": "Arabic"
}
}
}edit_products
| product_id required | string |
| translation_id required | string |
| name required | string |
| model | string |
| sub_model | string |
| description | string |
{- "name": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "model": "string",
- "sub_model": "string",
- "description": "string",
- "language": {
- "id": "string",
- "name": "Arabic"
}
}
}edit_products
| product_id required | string |
| partner_id required | string Partner Id that you want attach to affiliate |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}view_products
| product_id required | string |
{- "data": [
- {
- "id": "string",
- "partner": {
- "id": "string",
- "name": "string",
- "prefix": "string"
}, - "partner_mapping_id": "string",
- "prefix": "string",
- "sku": "string",
- "is_cumulative": true
}
]
}edit_products
| product_id required | string |
| partner_id required | integer |
| partner_mapping_id | string |
| sku required | string |
| is_cumulative required | boolean |
{- "partner_id": 0,
- "partner_mapping_id": "string",
- "sku": "string",
- "is_cumulative": true
}{- "data": {
- "id": "string",
- "partner": {
- "id": "string",
- "name": "string",
- "prefix": "string"
}, - "partner_mapping_id": "string",
- "prefix": "string",
- "sku": "string",
- "is_cumulative": true
}
}edit_products
| product_id required | string |
| reward_partner_id required | string |
| partner_id required | integer |
| partner_mapping_id | string |
| sku required | string |
| is_cumulative required | boolean |
{- "partner_id": 0,
- "partner_mapping_id": "string",
- "sku": "string",
- "is_cumulative": true
}{- "data": {
- "id": "string",
- "partner": {
- "id": "string",
- "name": "string",
- "prefix": "string"
}, - "partner_mapping_id": "string",
- "prefix": "string",
- "sku": "string",
- "is_cumulative": true
}
}edit_products
| product_id required | string |
| partner_id required | string |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "partner": {
- "id": "string",
- "name": "string",
- "prefix": "string"
}
}
}view_products
| product_id required | string |
| redemption_partner_id required | string |
{- "data": {
- "id": 0,
- "partner_id": 0,
- "supplier_id": 0,
- "supplier_product_map_id": "string",
- "fulfilled_by_blu": true,
- "product_link": "string",
- "additional_details": "string",
- "apple_wallet_strip_image": {
- "id": 0,
- "url": "string"
}, - "google_wallet_strip_image": {
- "id": 0,
- "url": "string"
}, - "display_online": true,
- "hot_deal": true,
- "show_offline": true,
- "validity_dates": true,
- "start_date": "string",
- "end_date": "string",
- "product_type_id": 0,
- "promo_code": "string",
- "qty": 0,
- "qty_stock_alert": 0,
- "redemption_limit": 0,
- "frequency": "string",
- "country_id": 0,
- "original_price": 0,
- "original_retail_price": 0,
- "currency_id": 0,
- "item_purchase_cost": 0,
- "item_purchase_currency": 0,
- "face_value": 0,
- "face_value_currency_id": 0,
- "out_of_stock_display": "hidden",
- "code": "string",
- "product": {
- "id": "string",
- "ucid": "string",
- "name": "string"
}
}
}edit_products
| product_id required | string |
| redemption_partner_id required | string |
| supplier_id required | integer |
| supplier_product_map_id | string |
| fulfilled_by_blu required | boolean |
| product_link | string |
| additional_details | string |
| apple_wallet_strip_image | integer |
| google_wallet_strip_image | integer |
| display_online required | boolean |
| hot_deal required | boolean |
| show_offline required | boolean |
| validity_dates required | boolean |
| start_date | string |
| end_date | string |
| product_type_id | integer |
| promo_code | string |
| qty required | integer |
| qty_stock_alert required | integer |
| redemption_limit | integer |
| frequency | string |
| country_id | integer |
| original_price required | number |
| original_retail_price required | number |
| currency_id required | integer |
| item_purchase_cost required | number |
| item_purchase_currency required | integer |
| face_value | number |
| face_value_currency_id | integer |
| out_of_stock_display required | string (out_of_stock_display) Enum: "hidden" "sold_out" "coming_soon" |
{- "supplier_id": 0,
- "supplier_product_map_id": "string",
- "fulfilled_by_blu": true,
- "product_link": "string",
- "additional_details": "string",
- "apple_wallet_strip_image": 0,
- "google_wallet_strip_image": 0,
- "display_online": true,
- "hot_deal": true,
- "show_offline": true,
- "validity_dates": true,
- "start_date": "string",
- "end_date": "string",
- "product_type_id": 0,
- "promo_code": "string",
- "qty": 0,
- "qty_stock_alert": 0,
- "redemption_limit": 0,
- "frequency": "string",
- "country_id": 0,
- "original_price": 0,
- "original_retail_price": 0,
- "currency_id": 0,
- "item_purchase_cost": 0,
- "item_purchase_currency": 0,
- "face_value": 0,
- "face_value_currency_id": 0,
- "out_of_stock_display": "hidden"
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "supplier_id": 0,
- "supplier_product_map_id": "string",
- "fulfilled_by_blu": true,
- "product_link": "string",
- "additional_details": "string",
- "apple_wallet_strip_image": {
- "id": 0,
- "url": "string"
}, - "google_wallet_strip_image": {
- "id": 0,
- "url": "string"
}, - "display_online": true,
- "hot_deal": true,
- "show_offline": true,
- "validity_dates": true,
- "start_date": "string",
- "end_date": "string",
- "product_type_id": 0,
- "promo_code": "string",
- "qty": 0,
- "qty_stock_alert": 0,
- "redemption_limit": 0,
- "frequency": "string",
- "country_id": 0,
- "original_price": 0,
- "original_retail_price": 0,
- "currency_id": 0,
- "item_purchase_cost": 0,
- "item_purchase_currency": 0,
- "face_value": 0,
- "face_value_currency_id": 0,
- "out_of_stock_display": "hidden",
- "code": "string",
- "product": {
- "id": "string",
- "ucid": "string",
- "name": "string"
}
}
}edit_products
| redemption_partner_id required | string |
| partner_id required | integer |
| max_cash_payment_percentage | integer |
{- "partner_id": 0,
- "max_cash_payment_percentage": 0
}{- "data": {
- "id": 0,
- "max_cash_payment_percentage": 0,
- "partner": {
- "id": "string",
- "name": "string"
}
}
}edit_products
| redemption_partner_id required | string |
| channel_id required | string |
| max_cash_payment_percentage required | integer |
{- "max_cash_payment_percentage": 0
}{- "data": {
- "id": 0,
- "max_cash_payment_percentage": 0,
- "partner": {
- "id": "string",
- "name": "string"
}
}
}edit_products
| redemption_partner_id required | string |
| segment_id required | string |
{- "segment_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}edit_products
| redemption_partner_id required | string |
| tier_id required | string |
{- "tier_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}view_products
| redemption_partner_id required | string |
{- "data": [
- {
- "id": "string",
- "country": {
- "id": "string",
- "name": "string"
}, - "is_active": true,
- "shipping_company_id": 0,
- "custom_tariffs_taxes": 0,
- "delivery_charges": 0,
- "currency_id": 0,
- "delivery_cost": 0,
- "delivery_cost_currency_id": 0
}
]
}edit_products
| redemption_partner_id required | string |
| country_id required | integer |
| is_active required | boolean |
| shipping_company_id | integer |
| custom_tariffs_taxes required | number |
| delivery_charges required | number |
| currency_id required | integer |
| delivery_cost required | number |
| delivery_cost_currency_id required | integer |
{- "country_id": 0,
- "is_active": true,
- "shipping_company_id": 0,
- "custom_tariffs_taxes": 0,
- "delivery_charges": 0,
- "currency_id": 0,
- "delivery_cost": 0,
- "delivery_cost_currency_id": 0
}{- "data": {
- "id": "string",
- "country": {
- "id": "string",
- "name": "string"
}, - "is_active": true,
- "shipping_company_id": 0,
- "custom_tariffs_taxes": 0,
- "delivery_charges": 0,
- "currency_id": 0,
- "delivery_cost": 0,
- "delivery_cost_currency_id": 0
}
}edit_products
| redemption_partner_id required | string |
| country_id required | string |
| country_id required | integer |
| is_active required | boolean |
| shipping_company_id | integer |
| custom_tariffs_taxes required | number |
| delivery_charges required | number |
| currency_id required | integer |
| delivery_cost required | number |
| delivery_cost_currency_id required | integer |
{- "country_id": 0,
- "is_active": true,
- "shipping_company_id": 0,
- "custom_tariffs_taxes": 0,
- "delivery_charges": 0,
- "currency_id": 0,
- "delivery_cost": 0,
- "delivery_cost_currency_id": 0
}{- "data": {
- "id": "string",
- "country": {
- "id": "string",
- "name": "string"
}, - "is_active": true,
- "shipping_company_id": 0,
- "custom_tariffs_taxes": 0,
- "delivery_charges": 0,
- "currency_id": 0,
- "delivery_cost": 0,
- "delivery_cost_currency_id": 0
}
}edit_products
| product_id required | string |
| upc required | string Universal product code |
{- "upc": "string"
}{- "data": [
- {
- "id": "string",
- "code": "string"
}
]
}edit_products
| product_id required | string |
| upc_id required | string |
| upc required | string Universal product code |
{- "upc": "string"
}{- "data": [
- {
- "id": "string",
- "code": "string"
}
]
}upload_e_voucher_batch
| product_id required | string |
| batch_name required | string |
| type | string Enum: "import_type" "generate_voucher_codes" |
| expiry_date required | string <date> |
| file | string <binary> |
| code_format | string Enum: "numeric" "alpha" "alphanumeric" "hyphenated" |
| length | integer [ 12 .. 200 ] |
| number | integer >= 1 |
{- "batch_name": "string",
- "type": "import_type",
- "expiry_date": "2019-08-24",
- "file": "string",
- "code_format": "numeric",
- "length": 12,
- "number": 1
}{- "data": [
- {
- "id": "string",
- "name": "string",
- "available_code_count": 0,
- "expiry_date": "2019-08-24"
}
]
}view_e_voucher_codes
| batch_id required | string |
| status | string Enum: "available" "redeemed" "used" |
| search_phrase | string |
{- "data": [
- {
- "id": 0,
- "code": "string",
- "transaction_id": 0
}
]
}edit_products
| product_id required | string |
| partner_id | string Merchant Id that you want attach to product |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "name": "string",
- "code": "string"
}
}view_offer
| partner_ids | Array of integers Filter by partner or multiple partners |
| country_ids | Array of integers Filter by country or multiple countries |
| channel_ids | Array of integers Filter by channel or multiple channels |
| statuses | Array of strings Filter by statuses ( Active, Inactive) |
| types | Array of integers Filter by types |
| search | string Filter by name |
{- "partner_ids": [
- 0
], - "country_ids": [
- 0
], - "channel_ids": [
- 0
], - "statuses": [
- "string"
], - "types": [
- 0
], - "search": "string"
}{- "data": [
- {
- "id": 0,
- "cover_image_url": "string",
- "name": "string",
- "start_date": "string",
- "end_date": "string",
- "status": "string"
}
]
}create_offer
| name required | string |
| category_id required | integer |
| offer_type_id | integer |
| short_description | string |
| description | string |
| terms_and_conditions | string |
| cover_image_id | integer |
| image_id | integer |
| button_wording | string |
| display_online | boolean |
| validity_start_date | string |
| validity_end_date | string |
| start_date | string |
| end_date | string |
| logged_in | boolean |
| logged_out | boolean |
| email_text_promo_1 | string |
| email_text_promo_2 | string |
| external_link | string |
| vop_offer_code | string |
| discount | integer |
| max_cashback_amount | number |
| max_cashback_currency_id | integer |
| created_at | string |
| updated_at | string |
| status | string Enum: "Active" "Inactive" |
| value | integer |
| reward_type | integer |
{- "name": "string",
- "category_id": 0,
- "offer_type_id": 0,
- "short_description": "string",
- "description": "string",
- "terms_and_conditions": "string",
- "cover_image_id": 0,
- "image_id": 0,
- "button_wording": "string",
- "display_online": true,
- "validity_start_date": "2020-01-28",
- "validity_end_date": "2020-01-28",
- "start_date": "2020-01-28",
- "end_date": "2020-01-28",
- "logged_in": true,
- "logged_out": true,
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "external_link": "string",
- "vop_offer_code": "string",
- "discount": 0,
- "max_cashback_amount": 0,
- "max_cashback_currency_id": 0,
- "created_at": "string",
- "updated_at": "string",
- "status": "Active",
- "value": 0,
- "reward_type": 0
}{- "data": {
- "id": 0,
- "name": "string",
- "offer_type_id": 0,
- "short_description": "string",
- "description": "string",
- "terms_and_conditions": "string",
- "cover_image_url": "string",
- "image_url": "string",
- "button_wording": "string",
- "display_online": true,
- "category_id": 0,
- "validity_start_date": "2020-01-28",
- "validity_end_date": "2020-01-28",
- "start_date": "2020-01-28",
- "end_date": "2020-01-28",
- "logged_in": true,
- "logged_out": true,
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "external_link": "string",
- "vop_offer_code": "string",
- "discount": 0,
- "max_cashback_amount": "string",
- "max_cashback_currency_id": 0,
- "created_at": "string",
- "updated_at": "string",
- "status": "Active",
- "value": 0,
- "reward_type": 0
}
}{- "data": {
- "id": 0,
- "name": "string",
- "offer_type_id": 0,
- "short_description": "string",
- "description": "string",
- "terms_and_conditions": "string",
- "cover_image_url": "string",
- "image_url": "string",
- "button_wording": "string",
- "display_online": true,
- "category_id": 0,
- "validity_start_date": "2020-01-28",
- "validity_end_date": "2020-01-28",
- "start_date": "2020-01-28",
- "end_date": "2020-01-28",
- "logged_in": true,
- "logged_out": true,
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "external_link": "string",
- "vop_offer_code": "string",
- "discount": 0,
- "max_cashback_amount": "string",
- "max_cashback_currency_id": 0,
- "created_at": "string",
- "updated_at": "string",
- "status": "Active",
- "value": 0,
- "reward_type": 0
}
}edit_offer
| offer_id required | string |
| name required | string |
| category_id required | integer |
| offer_type_id | integer |
| short_description | string |
| description | string |
| terms_and_conditions | string |
| cover_image_id | integer |
| image_id | integer |
| button_wording | string |
| display_online | boolean |
| validity_start_date | string |
| validity_end_date | string |
| start_date | string |
| end_date | string |
| logged_in | boolean |
| logged_out | boolean |
| email_text_promo_1 | string |
| email_text_promo_2 | string |
| external_link | string |
| vop_offer_code | string |
| discount | integer |
| max_cashback_amount | number |
| max_cashback_currency_id | integer |
| created_at | string |
| updated_at | string |
| status | string Enum: "Active" "Inactive" |
| value | integer |
| reward_type | integer |
{- "name": "string",
- "category_id": 0,
- "offer_type_id": 0,
- "short_description": "string",
- "description": "string",
- "terms_and_conditions": "string",
- "cover_image_id": 0,
- "image_id": 0,
- "button_wording": "string",
- "display_online": true,
- "validity_start_date": "2020-01-28",
- "validity_end_date": "2020-01-28",
- "start_date": "2020-01-28",
- "end_date": "2020-01-28",
- "logged_in": true,
- "logged_out": true,
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "external_link": "string",
- "vop_offer_code": "string",
- "discount": 0,
- "max_cashback_amount": 0,
- "max_cashback_currency_id": 0,
- "created_at": "string",
- "updated_at": "string",
- "status": "Active",
- "value": 0,
- "reward_type": 0
}{- "data": {
- "id": 0,
- "name": "string",
- "offer_type_id": 0,
- "short_description": "string",
- "description": "string",
- "terms_and_conditions": "string",
- "cover_image_url": "string",
- "image_url": "string",
- "button_wording": "string",
- "display_online": true,
- "category_id": 0,
- "validity_start_date": "2020-01-28",
- "validity_end_date": "2020-01-28",
- "start_date": "2020-01-28",
- "end_date": "2020-01-28",
- "logged_in": true,
- "logged_out": true,
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "external_link": "string",
- "vop_offer_code": "string",
- "discount": 0,
- "max_cashback_amount": "string",
- "max_cashback_currency_id": 0,
- "created_at": "string",
- "updated_at": "string",
- "status": "Active",
- "value": 0,
- "reward_type": 0
}
}edit_offer
| offer_id required | string |
| partner_id required | integer |
{- "partner_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "prefix": "string",
- "code": "string"
}
]
}delete_offer
| offer_id required | string |
| partner_id required | integer |
{- "partner_id": 0
}{ }edit_offer
| offer_id required | string |
| segment_id required | integer |
{- "segment_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}delete_offer
| offer_id required | string |
| segment_id required | integer |
{- "segment_id": 0
}{ }edit_offer
| offer_id required | string |
| country_id required | integer |
{- "country_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "telephone_code": "string"
}
]
}delete_offer
| offer_id required | string |
| country_id required | integer |
{- "country_id": 0
}{ }edit_offer
| offer_id required | string |
| channel_id required | integer |
{- "channel_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "prefix": "string",
- "code": "string"
}
]
}delete_offer
| offer_id required | string |
| channel_id required | integer |
{- "channel_id": 0
}{ }edit_offer
| offer_id required | string |
| tier_id required | integer |
{- "tier_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}delete_offer
| offer_id required | string |
| tier_id required | integer |
{- "tier_id": 0
}{ }edit_offer
| offer_id required | string |
| membershiptier_id required | integer |
{- "membershiptier_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}delete_offer
| offer_id required | string |
| membershiptiers_id | integer |
{- "membershiptiers_id": 0
}{ }edit_offer
| offer_id required | string |
| cuisine_id required | integer |
{- "cuisine_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}delete_offer
| offer_id required | string |
| cuisine_id required | integer |
{- "cuisine_id": 0
}{ }edit_offer
| offer_id required | string |
| name required | string |
| lang_id required | integer |
| description | integer |
| short_description | string |
| terms_and_condition | string |
| email_text_promo_1 | string |
| email_text_promo_2 | string |
| button_wording | string |
{- "name": "string",
- "lang_id": 0,
- "description": 0,
- "short_description": "string",
- "terms_and_condition": "string",
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "button_wording": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "description": 0,
- "short_description": "string",
- "lang_id": 0,
- "terms_and_condition": "string",
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "button_wording": "string"
}
}edit_offer
| offer_id required | string |
| translation_id required | string |
| name required | string |
| lang_id required | integer |
| description | integer |
| short_description | string |
| terms_and_condition | string |
| email_text_promo_1 | string |
| email_text_promo_2 | string |
| button_wording | string |
{- "name": "string",
- "lang_id": 0,
- "description": 0,
- "short_description": "string",
- "terms_and_condition": "string",
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "button_wording": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "description": 0,
- "short_description": "string",
- "lang_id": 0,
- "terms_and_condition": "string",
- "email_text_promo_1": "string",
- "email_text_promo_2": "string",
- "button_wording": "string"
}
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "is_partner_assignable": true,
- "slug": "string",
- "permission_group_id": 0,
- "permission_group_name": "string",
- "permission_group_code": "string",
- "permission_group_order": 0,
- "permission_group_display": 0,
- "has_checker": true
}
]
}create_roles
| name required | string |
| partner_id required | integer |
Array of objects[ items ] |
{- "name": "string",
- "partner_id": 0,
- "permissions": [
- [
- {
- "id": 0,
- "require_checker": true
}
]
]
}{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": 0,
- "permissions": [
- {
- "id": 0,
- "name": "string",
- "slug": "string",
- "permission_group_id": 0,
- "permission_group_name": "string",
- "permission_group_code": "string",
- "permission_group_order": 0,
- "permission_group_display": 0,
- "require_checker": true
}
]
}
}{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": 0,
- "permissions": [
- {
- "id": 0,
- "name": "string",
- "slug": "string",
- "permission_group_id": 0,
- "permission_group_name": "string",
- "permission_group_code": "string",
- "permission_group_order": 0,
- "permission_group_display": 0,
- "require_checker": true
}
]
}
}edit_roles
| role_id required | string |
| name | string |
| partner_id | integer |
Array of objects[ items ] |
{- "name": "string",
- "partner_id": 0,
- "permissions": [
- [
- {
- "id": 0,
- "require_checker": true
}
]
]
}{- "data": {
- "id": "string",
- "name": "string",
- "partner_id": 0,
- "permissions": [
- {
- "id": 0,
- "name": "string",
- "slug": "string",
- "permission_group_id": 0,
- "permission_group_name": "string",
- "permission_group_code": "string",
- "permission_group_order": 0,
- "permission_group_display": 0,
- "require_checker": true
}
]
}
}view_estatement
| partner_ids | Array of arrays Filter by partner or multiple partners |
| network_ids | Array of arrays Filter by network or multiple networks |
| status | string Filter by status |
| country_ids | Array of arrays Filter by country or multiple countries |
| partner_category_id | string Filter by partner category |
| is_top_level_partner | boolean Filter by is_top_level_partner |
| partner_name | string Search by partner name |
| order_by | string Enum: "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "partner": "string",
- "delivery_date": "string",
- "status": "string"
}
]
}create_estatement
| title required | string |
| description required | string |
| partner_id required | string |
| delivery_date required | string |
| time required | string |
| status required | string |
{- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string",
- "status": "string"
}{- "data": {
- "id": "string",
- "status": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string"
}
}view_estatement
| estatement_id required | string |
{- "data": {
- "id": "string",
- "status": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string"
}
}edit_estatement
| estatement_id required | string |
| title required | string |
| description required | string |
| partner_id required | string |
| delivery_date required | string |
| time required | string |
| status required | string |
{- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string",
- "status": "string"
}{- "data": {
- "id": "string",
- "status": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string"
}
}edit_estatement
| estatement_id required | string |
| member_id required | string Member Id that you want attach to estatement |
{- "member_id": "string"
}{- "data": [
- {
- "id": "string",
- "full_name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| tier_id required | string Tier Id that you want attach to estatement |
{- "tier_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| segment_id required | string Segment Id that you want attach to estatement |
{- "segment_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| country_id required | string Country Id that you want attach to estatement |
{- "country_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| title required | string |
| description required | string |
| lang_id required | string |
{- "title": "string",
- "description": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "title": "string",
- "description": "string",
- "language_name": "string"
}
}edit_estatement
| estatement_id required | string |
| id required | string |
| title required | string |
| description required | string |
| lang_id | string |
{- "title": "string",
- "description": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "title": "string",
- "description": "string",
- "language_name": "string"
}
}edit_estatement
| estatement_id required | string |
| type required | string |
| rank required | string |
| item_id required | string |
{- "type": "string",
- "rank": "string",
- "item_id": "string"
}{- "data": {
- "id": "string",
- "type": "string",
- "name": "string",
- "rank": "string"
}
}edit_estatement
| estatement_id required | string |
| id required | string |
| rank required | string |
{- "rank": "string"
}{- "data": {
- "id": "string",
- "type": "string",
- "name": "string",
- "rank": "string"
}
}view_reward_caps
| partner_ids | Array of integers Filter by partner or multiple partners |
| search_phrase | string Filter by name |
{- "partner_ids": [
- 0
], - "search_phrase": "string"
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "partner_name": "string",
- "accumulator_name": "string",
- "value": 0
}
]
}create_reward_caps
| name | string |
| reward_accumulator_id | string |
| partner_id | integer |
| value | number |
| aggregate_cap_id | integer |
[- {
- "name": "string",
- "reward_accumulator_id": "string",
- "partner_id": 0,
- "value": 0,
- "aggregate_cap_id": 0
}
]{- "data": {
- "id": 0,
- "name": "string",
- "partner_id": 0,
- "accumulator_id": 0,
- "accumulator_name": "string",
- "value": 0,
- "aggregate_cap_id": 0
}
}view_reward_caps
| cap_id required | integer |
{- "data": {
- "id": 0,
- "name": "string",
- "partner_id": 0,
- "accumulator_id": 0,
- "accumulator_name": "string",
- "value": 0,
- "aggregate_cap_id": 0
}
}edit_reward_caps
| cap_id required | integer |
{- "data": {
- "id": 0,
- "name": "string",
- "partner_id": 0,
- "accumulator_id": 0,
- "accumulator_name": "string",
- "value": 0,
- "aggregate_cap_id": 0
}
}| name required | string |
| short_code required | string |
| latest_rate required | number |
{- "name": "string",
- "short_code": "string",
- "latest_rate": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "short_code": "string",
- "display": 0,
- "latest_rate": 0
}
}| currency_id required | integer |
| name required | string |
| short_code required | string |
| latest_rate required | number |
{- "name": "string",
- "short_code": "string",
- "latest_rate": 0
}{- "data": {
- "id": "string",
- "name": "string",
- "short_code": "string",
- "display": 0,
- "latest_rate": 0
}
}| currency_id required | integer |
| value required | string |
| lang_id required | integer |
{- "value": "string",
- "lang_id": 0
}{- "data": {
- "id": 0,
- "value": "string",
- "language": {
- "id": 0,
- "name": "Arabic"
}
}
}| currency_id required | integer |
| translation_id required | string |
| value required | string |
| lang_id required | integer |
{- "value": "string",
- "lang_id": 0
}{- "data": {
- "id": 0,
- "value": "string",
- "language": {
- "id": 0,
- "name": "Arabic"
}
}
}view_featured_collection
| partner_ids | Array of arrays Filter by partner or multiple partners |
| display_channels_ids | Array of arrays Filter by display channel or multiple display channels |
| status | string Enum: "enabled" "disabled" Filter by status |
| search | string Search by name |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "status": "string"
}
]
}create_featured_collection
| name required | string |
| status required | string Enum: "enabled" "disabled" |
{- "name": "string",
- "status": "enabled"
}{- "data": {
- "id": "string",
- "name": "string",
- "status": "string"
}
}edit_featured_collection
| featured_collection_id required | string |
| name | string |
| status | string Enum: "enabled" "disabled" |
{- "name": "string",
- "status": "enabled"
}{- "data": {
- "id": "string",
- "name": "string",
- "status": "string"
}
}edit_featured_collection
| featured_collection_id required | string |
| partner_id required | string Partner Id that you want attach to featured collection |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}edit_featured_collection
| featured_collection_id required | string |
| partner_id required | string Partner Id that you want detach from featured collection |
{ }view_featured_collection
| featured_collection_id required | string |
{- "data": [
- {
- "id": "string",
- "partner_id": "string",
- "partner_name": "string",
- "names": {
- "en": "string",
- "ar": "string"
}
}
]
}edit_featured_collection
| featured_collection_id required | string |
| partner_id required | string Channel Id that you want attach to featured collection |
object Channel translation names |
{- "partner_id": "string",
- "names": {
- "en": "string",
- "ar": "string"
}
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "names": {
- "en": "string",
- "ar": "string"
}
}
}edit_featured_collection
| featured_collection_id required | string |
| id required | string |
required | object Channel translation names |
{- "names": {
- "en": "string",
- "ar": "string"
}
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "names": {
- "en": "string",
- "ar": "string"
}
}
}edit_featured_collection
| featured_collection_id required | integer |
{- "data": [
- {
- "id": 0,
- "rank": 0,
- "collection_id": 0,
- "item_id": 0,
- "item_type": "string",
- "item_name": "string"
}
]
}edit_featured_collection
| featured_collection_id required | integer |
| featured_item_id required | integer |
| type required | string Enum: "offer" "product" |
{- "featured_item_id": 0,
- "type": "offer"
}{- "data": {
- "id": 0,
- "rank": 0,
- "collection_id": 0,
- "item_id": 0,
- "item_type": "string",
- "item_name": "string"
}
}edit_featured_collection
| featured_collection_id required | integer |
| item_id required | integer Featured Collection Item ID that you want delete |
{- "item_id": 0
}{ }edit_featured_collection
| featured_collection_id required | integer |
object Example: ranks=[{ id: 10, rank: 1 }, {id: 12, rank:2 }] Object where |
{- "data": [
- {
- "id": 0,
- "rank": 0,
- "collection_id": 0,
- "item_id": 0,
- "item_type": "string",
- "item_name": "string"
}
]
}run_cron_jobs
| signature required | string Cron job signature |
{- "signature": "string"
}{- "data": {
- "message": "Command has been queued."
}
}view_pos_entry_modes
| search_phrase | string Filter by id (strict), code, description |
| sort_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for List |
{- "search_phrase": "string",
- "sort_by": "created_at_asc"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}create_pos_entry_modes
| code required | string |
| description required | string |
{- "code": "string",
- "description": "string"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}edit_pos_entry_modes
| pos_entry_mode_id required | integer |
| code required | string |
| description required | string |
{- "code": "string",
- "description": "string"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}view_pos_environment_codes
| page | integer <int64> Page number |
| per_page | integer <int64> [ 1 .. 100 ] Number of records per page. Defaults to 15 when omitted. |
| search_phrase | string Filter by id (strict), code, description |
| sort_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for List |
{- "search_phrase": "string",
- "sort_by": "created_at_asc"
}{- "data": [
- {
- "id": 9,
- "code": "R",
- "description": "Recurring payment environment",
- "created_at": "2026-06-01 00:00:00"
}
], - "links": {
}, - "meta": {
- "current_page": 3,
- "from": 31,
- "last_page": 10,
- "per_page": 15,
- "to": 45,
- "total": 150
}
}create_pos_environment_codes
| code required | string = 1 characters ^[A-Za-z0-9]{1}$ Visa VLPS POS Environment Code, offset 194 (e.g. |
| description required | string [ 1 .. 200 ] characters Human-readable meaning of the code. |
{- "code": "R",
- "description": "Recurring payment environment"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}edit_pos_environment_codes
| pos_environment_code_id required | integer |
| code required | string = 1 characters ^[A-Za-z0-9]{1}$ Visa VLPS POS Environment Code, offset 194 (e.g. |
| description required | string [ 1 .. 200 ] characters Human-readable meaning of the code. |
{- "code": "R",
- "description": "Recurring payment environment"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}view_ecis
| page | integer <int64> Page number |
| per_page | integer <int64> [ 1 .. 100 ] Number of records per page. Defaults to 15 when omitted. |
| search_phrase | string Filter by id (strict), code, description |
| sort_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for List |
{- "search_phrase": "string",
- "sort_by": "created_at_asc"
}{- "data": [
- {
- "id": 4,
- "code": "07",
- "description": "Channel encrypted, cardholder not authenticated",
- "created_at": "2026-06-01 00:00:00"
}
], - "links": {
}, - "meta": {
- "current_page": 3,
- "from": 31,
- "last_page": 10,
- "per_page": 15,
- "to": 45,
- "total": 150
}
}create_ecis
| code required | string [ 1 .. 2 ] characters ^[0-9]{1,2}$ Visa VLPS Electronic Commerce Indicator, offsets 192-193 (e.g. |
| description required | string [ 1 .. 200 ] characters Human-readable meaning of the code. |
{- "code": "07",
- "description": "Channel encrypted, cardholder not authenticated"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}edit_ecis
| eci_id required | integer |
| code required | string [ 1 .. 2 ] characters ^[0-9]{1,2}$ Visa VLPS Electronic Commerce Indicator, offsets 192-193 (e.g. |
| description required | string [ 1 .. 200 ] characters Human-readable meaning of the code. |
{- "code": "07",
- "description": "Channel encrypted, cardholder not authenticated"
}{- "data": {
- "id": "1",
- "code": "string",
- "description": "string",
- "created_at": "string"
}
}| value | string |
| description | string |
{- "value": "string",
- "description": "string"
}{- "data": {
- "id": 0,
- "value": "string",
- "description": "string"
}
}| card_acceptor_id required | integer |
| value | string |
| description | string |
{- "value": "string",
- "description": "string"
}{- "data": {
- "id": 0,
- "value": "string",
- "description": "string"
}
}view_acquirer_bins
| search_phrase | string Filter by acquirer_bin, description, partner_id |
{- "search_phrase": "string"
}{- "data": [
- {
- "id": 0,
- "partner_name": "string",
- "acquirer_bin": "string",
- "description": "string"
}
]
}create_acquirer_bins
| acquirer_bin required | string |
| partner_id required | integer |
| description | string |
{- "acquirer_bin": "string",
- "partner_id": 0,
- "description": "string"
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "acquirer_bin": "string",
- "description": "string"
}
}edit_acquirer_bins
| acquirer_bin_id required | integer |
| acquirer_bin required | string |
| partner_id required | integer |
| description | string |
{- "acquirer_bin": "string",
- "partner_id": 0,
- "description": "string"
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "acquirer_bin": "string",
- "description": "string"
}
}view_language_keys
| search_phrase | string Search by key, description, id (strict) |
| sort_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for List |
| category | string Enum: "generic" "backend" "website" "app" Category of the key |
{- "search_phrase": "string",
- "sort_by": "created_at_asc",
- "category": "generic"
}{- "data": {
- "id": 0,
- "key": "string",
- "description": "string",
- "created_at": "string"
}
}create_language_keys
| key required | string |
| description required | string |
| is_platform_key | boolean |
| is_generic | boolean |
| category | string Enum: "generic" "backend" "website" "app" |
{- "key": "string",
- "description": "string",
- "is_platform_key": true,
- "is_generic": true,
- "category": "generic"
}{- "data": {
- "id": 0,
- "key": "string",
- "is_generic": true,
- "description": "string",
- "created_at": "string",
- "category": "generic"
}
}view_language_keys
| localization_key_id required | integer |
{- "data": {
- "id": 0,
- "key": "string",
- "is_generic": true,
- "description": "string",
- "created_at": "string",
- "category": "generic"
}
}edit_language_keys
| localization_key_id required | integer |
| key required | string |
| description required | string |
| is_platform_key | boolean |
| is_generic | boolean |
| category | string Enum: "generic" "backend" "website" "app" |
{- "key": "string",
- "description": "string",
- "is_platform_key": true,
- "is_generic": true,
- "category": "generic"
}{- "data": {
- "id": 0,
- "key": "string",
- "is_generic": true,
- "description": "string",
- "created_at": "string",
- "category": "generic"
}
}Link specific partners to a localization key.
| localization_key_id required | integer ID of the localization key |
| partners required | Array of integers Array of partner IDs to be linked |
{- "partners": [
- 0
]
}{- "key": "string",
- "description": "string",
- "is_platform_key": true,
- "is_generic": true,
- "category": "generic"
}Unlink a specific partner from a localization key.
| localization_key_id required | integer ID of the localization key |
| partner_id required | integer ID of the partner to be unlinked |
{ }edit_language_keys
| language_key_id required | integer |
| partner_id | integer |
object |
{- "partner_id": 0,
- "lang_keys": {
- "lang_id": 0,
- "value": "string"
}
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "key": "string",
- "values": [
- {
- "id": 0,
- "lang_id": 0,
- "value": "string"
}
]
}
}delete_language_keys
| language_key_id required | integer |
| partner_id required | integer |
{- "partner_id": 0
}{ }view_accumulators
| page | integer <int64> Page number |
| partner_ids | Array of integers |
| types | Array of integers Items Enum: 1 2 |
| search_phrase | string |
{- "data": {
- "id": 0,
- "accumulator_name": "string",
- "partner_id": 0,
- "partner_name": "Mr.",
- "type_id": 1,
- "type": "Cap",
- "value_type_id": 1,
- "value_type": "Points",
- "frequency": "yearly",
- "currency_id": 0
}
}create_accumulators
| name required | string |
| partner_id required | integer |
| frequency required | string Enum: "one_time" "monthly" "quarterly" "yearly" |
| type required | integer |
| value_type required | integer |
| currency_id required | integer |
{- "name": "string",
- "partner_id": 0,
- "frequency": "one_time",
- "type": 0,
- "value_type": 0,
- "currency_id": 0
}{- "data": {
- "id": 0,
- "accumulator_name": "string",
- "partner_id": 0,
- "partner_name": "Mr.",
- "type_id": 1,
- "type": "Cap",
- "value_type_id": 1,
- "value_type": "Points",
- "frequency": "yearly",
- "currency_id": 0
}
}view_accumulators
| accumulator_id required | integer |
{- "data": {
- "id": 0,
- "accumulator_name": "string",
- "partner_id": 0,
- "partner_name": "Mr.",
- "type_id": 1,
- "type": "Cap",
- "value_type_id": 1,
- "value_type": "Points",
- "frequency": "yearly",
- "currency_id": 0
}
}edit_accumulators
| accumulator_id required | integer |
| name required | string |
| partner_id required | integer |
| frequency required | string Enum: "one_time" "monthly" "quarterly" "yearly" |
| type required | integer |
| value_type required | integer |
| currency_id required | integer |
{- "name": "string",
- "partner_id": 0,
- "frequency": "one_time",
- "type": 0,
- "value_type": 0,
- "currency_id": 0
}{- "data": {
- "id": 0,
- "accumulator_name": "string",
- "partner_id": 0,
- "partner_name": "Mr.",
- "type_id": 1,
- "type": "Cap",
- "value_type_id": 1,
- "value_type": "Points",
- "frequency": "yearly",
- "currency_id": 0
}
}view_estatement
| partner_ids | Array of arrays Filter by partner or multiple partners |
| network_ids | Array of arrays Filter by network or multiple networks |
| status | string Filter by status |
| country_ids | Array of arrays Filter by country or multiple countries |
| partner_category_id | string Filter by partner category |
| is_top_level_partner | boolean Filter by is_top_level_partner |
| partner_name | string Search by partner name |
| order_by | string Enum: "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "partner": "string",
- "delivery_date": "string",
- "status": "string"
}
]
}create_estatement
| title required | string |
| description required | string |
| partner_id required | string |
| delivery_date required | string |
| time required | string |
| status required | string |
{- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string",
- "status": "string"
}{- "data": {
- "id": "string",
- "status": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string"
}
}view_estatement
| estatement_id required | string |
{- "data": {
- "id": "string",
- "status": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string"
}
}edit_estatement
| estatement_id required | string |
| title required | string |
| description required | string |
| partner_id required | string |
| delivery_date required | string |
| time required | string |
| status required | string |
{- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string",
- "status": "string"
}{- "data": {
- "id": "string",
- "status": "string",
- "title": "string",
- "description": "string",
- "partner_id": "string",
- "delivery_date": "string",
- "time": "string"
}
}edit_estatement
| estatement_id required | string |
| member_id required | string Member Id that you want attach to estatement |
{- "member_id": "string"
}{- "data": [
- {
- "id": "string",
- "full_name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| tier_id required | string Tier Id that you want attach to estatement |
{- "tier_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| segment_id required | string Segment Id that you want attach to estatement |
{- "segment_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| country_id required | string Country Id that you want attach to estatement |
{- "country_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}edit_estatement
| estatement_id required | string |
| title required | string |
| description required | string |
| lang_id required | string |
{- "title": "string",
- "description": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "title": "string",
- "description": "string",
- "language_name": "string"
}
}edit_estatement
| estatement_id required | string |
| id required | string |
| title required | string |
| description required | string |
| lang_id | string |
{- "title": "string",
- "description": "string",
- "lang_id": "string"
}{- "data": {
- "id": "string",
- "title": "string",
- "description": "string",
- "language_name": "string"
}
}edit_estatement
| estatement_id required | string |
| type required | string |
| rank required | string |
| item_id required | string |
{- "type": "string",
- "rank": "string",
- "item_id": "string"
}{- "data": {
- "id": "string",
- "type": "string",
- "name": "string",
- "rank": "string"
}
}edit_estatement
| estatement_id required | string |
| id required | string |
| rank required | string |
{- "rank": "string"
}{- "data": {
- "id": "string",
- "type": "string",
- "name": "string",
- "rank": "string"
}
}create_reward_tiers
| name required | string |
| reward_accumulator_id required | string |
Array of objects |
{- "name": "string",
- "reward_accumulator_id": "string",
- "range": [
- {
- "start": "string",
- "end": "string",
- "points_to_reward": "string"
}
]
}{- "data": {
- "id": "string",
- "name": "string",
- "reward_accumulator_id": "string",
- "range": [
- {
- "start": "string",
- "end": "string",
- "points_to_reward": "string"
}
]
}
}view_reward_tiers
| reward_tier_id required | string |
{- "data": {
- "id": "string",
- "name": "string",
- "reward_accumulator_id": "string",
- "range": [
- {
- "start": "string",
- "end": "string",
- "points_to_reward": "string"
}
]
}
}edit_reward_tiers
| reward_tier_id required | string |
| name required | string |
| reward_accumulator_id required | string |
Array of objects |
{- "name": "string",
- "reward_accumulator_id": "string",
- "range": [
- {
- "start": "string",
- "end": "string",
- "points_to_reward": "string"
}
]
}{- "data": {
- "id": "string",
- "name": "string",
- "reward_accumulator_id": "string",
- "range": [
- {
- "start": "string",
- "end": "string",
- "points_to_reward": "string"
}
]
}
}view_countries
| search_phrase | string Filter by name, short_code, telephone_code |
{- "search_phrase": "string"
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "short_code": "string",
- "telephone_code": "string",
- "is_displaying": true
}
]
}create_countries
| name required | string |
| telephone_code required | string |
| iso_code required | string |
| alpha3_code required | string |
| short_code required | string |
| postcode_regex | string |
{- "name": "string",
- "telephone_code": "string",
- "iso_code": "string",
- "alpha3_code": "string",
- "short_code": "string",
- "postcode_regex": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "telephone_code": "string",
- "iso_code": "string",
- "alpha3_code": "string",
- "short_code": "string",
- "postcode_regex": "string"
}
}view_countries
| country_id required | string |
{- "data": {
- "id": 0,
- "name": "string",
- "telephone_code": "string",
- "iso_code": "string",
- "alpha3_code": "string",
- "short_code": "string",
- "postcode_regex": "string"
}
}edit_countries
| country_id required | string |
| name required | string |
| telephone_code required | string |
| iso_code required | string |
| alpha3_code required | string |
| short_code required | string |
| postcode_regex | string |
{- "name": "string",
- "telephone_code": "string",
- "iso_code": "string",
- "alpha3_code": "string",
- "short_code": "string",
- "postcode_regex": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "telephone_code": "string",
- "iso_code": "string",
- "alpha3_code": "string",
- "short_code": "string",
- "postcode_regex": "string"
}
}view_uploaded_files
| partner_id | integer Filter by partner |
| source_id | integer Enum: 1 2 3 Filter by Source [1 => sftp, 2 => admin api, 3 => partner api] |
{- "data": [
- {
- "id": 0,
- "partner_name": "string",
- "file_name": "string",
- "file_type": "transaction",
- "file_source": "sftp",
- "data_staging_status": "unprocessed",
- "is_imported": true,
- "admin_first_name": "string",
- "admin_last_name": "string",
- "error_message": "string"
}
]
}| partner_id required | string ID of the partner selected |
| file_type required | string File type |
| file required | string <binary> File to upload |
{- "data": {
- "id": 0,
- "partner_name": "string",
- "file_name": "string",
- "file_type": "transaction",
- "file_source": "sftp",
- "data_staging_status": "unprocessed",
- "is_imported": true,
- "admin_first_name": "string",
- "admin_last_name": "string",
- "error_message": "string"
}
}view_featured_collection
| partner_ids | Array of arrays Filter by partner or multiple partners |
| search | string Filter by name |
| affiliate_partner_id | integer <int64> Affiliate Partner ID |
| status | string Enum: "active" "inactive" Affiliate Partner Status |
| merchant_type | string Enum: "reward" "redemption" Affiliate Partner Type |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}create_merchants
| code required | string |
| name required | string |
| description required | string |
| contact_name | string |
| contact_email | string |
| contact_phone_number | string |
| website | string |
{- "code": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_phone_number": "string",
- "website": "string"
}{- "data": {
- "id": "string",
- "code": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_phone_number": "string",
- "website": "string"
}
}view_merchant
| merchant_id required | string |
{- "data": {
- "id": "string",
- "code": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_phone_number": "string",
- "website": "string"
}
}edit_merchant
| merchant_id required | string |
| code required | string |
| name required | string |
| description required | string |
| contact_name | string |
| contact_email | string |
| contact_phone_number | string |
| website | string |
{- "code": "string",
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_phone_number": "string",
- "website": "string"
}{- "data": {
- "id": "string",
- "code": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_phone_number": "string",
- "website": "string"
}
}edit_merchant
| merchant_id required | string |
| partner_id required | string Partner Id that you want attach to merchant |
{- "partner_id": "string"
}{- "data": {
- "id": "string",
- "name": "string"
}
}edit_merchants
| merchant_id required | string |
| partner_id required | string Affiliate Partner Id that you want attach to merchant |
| merchant_map_code | string or null <= 50 characters The Partner Merchant Mapping Code, representing the merchant ID on the partner's side, is a required field for reward merchants |
| status | string Enum: "Active" "Inactive" |
| is_reward | boolean |
| image_id | string |
| is_redemption | boolean |
| reward_processing_delay_days | integer [ 0 .. 30 ] |
| is_visible | boolean |
| discount | number |
| markup | number |
object Affiliate partner names | |
object Affiliate partner descriptions | |
object Affiliate partner OTP SMS templates | |
| merchant_category_id | integer |
{- "partner_id": "string",
- "merchant_map_code": "string",
- "status": "Active",
- "is_reward": true,
- "image_id": "string",
- "is_redemption": true,
- "reward_processing_delay_days": 0,
- "is_visible": true,
- "discount": 0,
- "markup": 0,
- "names": {
- "en": "string",
- "ar": "string"
}, - "descriptions": {
- "en": "string",
- "ar": "string"
}, - "otp_sms_templates": {
- "en": "string",
- "ar": "string"
}, - "merchant_category_id": 0
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "merchant_map_code": "string",
- "image_id": "string",
- "image_url": "string",
- "status": "string",
- "is_reward": true,
- "is_redemption": true,
- "is_visible": true,
- "reward_processing_delay_days": 0,
- "discount": 0,
- "markup": 0,
- "names": {
- "en": "string",
- "ar": "string"
}, - "descriptions": {
- "en": "string",
- "ar": "string"
}, - "otp_sms_templates": {
- "en": "string",
- "ar": "string"
}, - "merchant_category_id": 0,
- "merchant_category_name": "string"
}
}view_merchants
| merchant_id required | string |
| partner_id required | string |
{- "data": {
- "id": "string",
- "partner_id": "string",
- "merchant_map_code": "string",
- "image_id": "string",
- "image_url": "string",
- "status": "string",
- "is_reward": true,
- "is_redemption": true,
- "is_visible": true,
- "reward_processing_delay_days": 0,
- "discount": 0,
- "markup": 0,
- "names": {
- "en": "string",
- "ar": "string"
}, - "descriptions": {
- "en": "string",
- "ar": "string"
}, - "otp_sms_templates": {
- "en": "string",
- "ar": "string"
}, - "merchant_category_id": 0,
- "merchant_category_name": "string"
}
}edit_merchants
| merchant_id required | string |
| partner_id required | string |
| merchant_map_code | string or null <= 50 characters The Partner Merchant Mapping Code, representing the merchant ID on the partner's side, is a required field for reward merchants |
| status required | string Enum: "Active" "Inactive" |
| is_reward | boolean |
| image_id | string |
| is_redemption | boolean |
| reward_processing_delay_days | integer [ 0 .. 30 ] |
| is_visible | boolean |
| discount | number |
| markup | number |
object Affiliate partner names | |
object Affiliate partner descriptions | |
object Affiliate partner OTP SMS templates | |
| merchant_category_id | integer |
{- "merchant_map_code": "string",
- "status": "Active",
- "is_reward": true,
- "image_id": "string",
- "is_redemption": true,
- "reward_processing_delay_days": 0,
- "is_visible": true,
- "discount": 0,
- "markup": 0,
- "names": {
- "en": "string",
- "ar": "string"
}, - "descriptions": {
- "en": "string",
- "ar": "string"
}, - "otp_sms_templates": {
- "en": "string",
- "ar": "string"
}, - "merchant_category_id": 0
}{- "data": {
- "id": "string",
- "partner_id": "string",
- "merchant_map_code": "string",
- "image_id": "string",
- "image_url": "string",
- "status": "string",
- "is_reward": true,
- "is_redemption": true,
- "is_visible": true,
- "reward_processing_delay_days": 0,
- "discount": 0,
- "markup": 0,
- "names": {
- "en": "string",
- "ar": "string"
}, - "descriptions": {
- "en": "string",
- "ar": "string"
}, - "otp_sms_templates": {
- "en": "string",
- "ar": "string"
}, - "merchant_category_id": 0,
- "merchant_category_name": "string"
}
}view_merchants
| merchant_id required | integer |
{- "data": [
- {
- "id": 0,
- "code": "string",
- "name": "string",
- "country_id": 0,
- "country_name": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "lat": 0,
- "long": 0
}
]
}edit_merchants
| merchant_id required | integer |
| code required | string |
| name required | string |
| country_id | integer |
| area_id | integer |
| city_id | integer |
| lat | number |
| long | number |
{- "code": "string",
- "name": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "lat": 0,
- "long": 0
}{- "data": {
- "id": 0,
- "code": "string",
- "name": "string",
- "country_id": 0,
- "country_name": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "lat": 0,
- "long": 0
}
}view_merchants
| merchant_id required | integer |
| id required | integer |
{- "data": {
- "id": 0,
- "code": "string",
- "name": "string",
- "country_id": 0,
- "country_name": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "lat": 0,
- "long": 0
}
}edit_merchants
| merchant_id required | integer |
| id required | integer |
| code required | string |
| name required | string |
| country_id | integer |
| area_id | integer |
| city_id | integer |
| lat | number |
| long | number |
{- "code": "string",
- "name": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "lat": 0,
- "long": 0
}{- "data": {
- "id": 0,
- "code": "string",
- "name": "string",
- "country_id": 0,
- "country_name": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "lat": 0,
- "long": 0
}
}Retrieves a list of merchant categories optionally filtered by partner.
| id | integer Filter by ID. |
| partner_id | integer Filter by partner ID. |
| keyword | string Filter by keyword. |
{- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}Creates a new merchant category with the given name and optional image.
| name required | string |
| description | string |
required | object |
| web_image_id | integer |
| mobile_image_id | integer |
{- "name": "string",
- "description": "string",
- "names": {
- "en": "string",
- "ar": "string"
}, - "web_image_id": 0,
- "mobile_image_id": 0
}{- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "names": {
- "en": "string",
- "ar": "string"
}, - "web_image_id": 0,
- "web_image_url": "string",
- "mobile_image_id": 0,
- "mobile_image_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Retrieves details of a specific merchant category.
| merchant_category_id required | integer ID of the merchant category to retrieve. |
{- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "names": {
- "en": "string",
- "ar": "string"
}, - "web_image_id": 0,
- "web_image_url": "string",
- "mobile_image_id": 0,
- "mobile_image_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Updates details of a specific merchant category.
| merchant_category_id required | integer ID of the merchant category to update. |
| name required | string |
| description | string |
required | object |
| web_image_id | integer |
| mobile_image_id | integer |
{- "name": "string",
- "description": "string",
- "names": {
- "en": "string",
- "ar": "string"
}, - "web_image_id": 0,
- "mobile_image_id": 0
}{- "data": {
- "id": 0,
- "name": "string",
- "description": "string",
- "names": {
- "en": "string",
- "ar": "string"
}, - "web_image_id": 0,
- "web_image_url": "string",
- "mobile_image_id": 0,
- "mobile_image_url": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Retrieves a list of partners associated with a specific merchant category.
| merchant_category_id required | integer ID of the merchant category. |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}Associates a partner with a specific merchant category.
| merchant_category_id required | integer ID of the merchant category. |
| partner_id required | string Partner ID to attach to the merchant category |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}Retrieves a list of member notifications based on the provided filters.
| notification_channel | string Enum: "email" "sms" Filter by channel of the member notification. |
| notification_type | string Value: "user_registered" Filter by notification type. |
| is_enabled | boolean Filter by the enabled state of the event notification. |
| partner_ids | Array of integers Filter by partner IDs. |
| order_by | string Order by field. |
{- "data": [
- {
- "id": 0,
- "notification_channel": {
- "value": "sms",
- "description": "SMS"
}, - "notification_type": {
- "value": "user_registered",
- "description": "User Registered"
}, - "is_enabled": true,
- "send_at": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "params": {
- "days_before": 0
}
}
]
}Creates a new member notification with the provided details.
| notification_channel | string |
| notification_type | string |
| is_enabled required | boolean |
| send_at | string |
| partner_ids required | Array of integers |
required | Array of objects |
Array of user_points_expiring (object) or Empty (object) (Member Notification Params) |
{- "notification_channel": "string",
- "notification_type": "string",
- "is_enabled": true,
- "send_at": "string",
- "partner_ids": [
- 0
], - "sms_templates": [
- {
- "lang_code": "string",
- "template": "string"
}
], - "params": [
- {
- "days_before": 0
}
]
}{- "data": {
- "id": 0,
- "type": {
- "value": "sms",
- "description": "SMS"
}, - "trigger": {
- "value": "user_registered",
- "description": "User Registered"
}, - "is_enabled": true,
- "send_at": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sms_templates": [
- {
- "id": 0,
- "user_notification_id": 0,
- "template": "string",
- "lang_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "params": {
- "days_before": 0
}
}
}Retrieves details of a specific member notification.
| member_notification_id required | integer ID of the member notification to retrieve. |
{- "data": {
- "id": 0,
- "type": {
- "value": "sms",
- "description": "SMS"
}, - "trigger": {
- "value": "user_registered",
- "description": "User Registered"
}, - "is_enabled": true,
- "send_at": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sms_templates": [
- {
- "id": 0,
- "user_notification_id": 0,
- "template": "string",
- "lang_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "params": {
- "days_before": 0
}
}
}Updates details of a specific member notification.
| member_notification_id required | integer ID of the member notification to update. |
| notification_channel | string Enum: "email" "sms" |
| notification_type | string Value: "user_registered" |
| is_enabled required | boolean |
| send_at | string |
| partner_ids required | Array of integers |
required | Array of objects |
Array of user_points_expiring (object) or Empty (object) (Member Notification Params) |
{- "notification_channel": "email",
- "notification_type": "user_registered",
- "is_enabled": true,
- "send_at": "string",
- "partner_ids": [
- 0
], - "sms_templates": [
- {
- "lang_code": "string",
- "template": "string"
}
], - "params": [
- {
- "days_before": 0
}
]
}{- "data": {
- "id": 0,
- "type": {
- "value": "sms",
- "description": "SMS"
}, - "trigger": {
- "value": "user_registered",
- "description": "User Registered"
}, - "is_enabled": true,
- "send_at": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "sms_templates": [
- {
- "id": 0,
- "user_notification_id": 0,
- "template": "string",
- "lang_code": "string",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "params": {
- "days_before": 0
}
}
}Retrieves a list of partners associated with a specific member notification.
| member_notification_id required | integer ID of the member notification. |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}Associates a partner with a specific member notification.
| member_notification_id required | integer ID of the member notification. |
| partner_id required | string Partner Id that you want attach to event notification |
{- "partner_id": "string"
}{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}Returns placeholders for the specified member notification type.
| type required | string Value: "user_points_expiring" The type of the member notification. |
{- "data": [
- {
- "partnerId": 1,
- "userId": 100,
- "pin": "1001"
}
]
}Returns params schema for the specified member notification type.
| type required | string Value: "user_registered" The type of the member notification. |
{- "data": [
- {
- "key": "string",
- "required": true,
- "type": "string",
- "label": "string",
- "description": "string"
}
]
}Retrieves a list of maker checker requests based on the provided filters.
| type | string Filter by type of the maker checker request. |
| status | integer Enum: 0 1 2 Filter by status of the maker checker request. 0 - Pending, 1 - Approved, 2 - Rejected |
| manager_partner_id | integer Filter by partner ID. |
| maker_id | integer Filter by maker ID. |
| checker_id | integer Filter by checker ID. |
| order_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Order by field. |
| per_page | integer Number of results per page. |
{- "data": [
- {
- "id": 0,
- "type": "string",
- "maker_id": 0,
- "maker_full_name": "string",
- "expected_checker_id": 0,
- "expected_checker_full_name": "string",
- "checker_id": 0,
- "checker_full_name": "string",
- "status": {
- "value": "string",
- "description": "string"
}, - "checked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}Retrieves details of a specific maker checker request.
| request_id required | integer ID of the maker checker request to retrieve. |
{- "data": {
- "id": 0,
- "type": {
- "value": "string",
- "description": "string"
}, - "manager_partner_id": 0,
- "manager_partner_name": "string",
- "maker_id": 0,
- "maker_full_name": "string",
- "expected_checker_id": 0,
- "expected_checker_full_name": "string",
- "checker_id": 0,
- "checker_full_name": "string",
- "request": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "value": "string",
- "description": "string"
}, - "checked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Approves a specific maker checker request.
| request_id required | integer ID of the maker checker request to approve. |
{- "data": {
- "id": 0,
- "type": {
- "value": "string",
- "description": "string"
}, - "manager_partner_id": 0,
- "manager_partner_name": "string",
- "maker_id": 0,
- "maker_full_name": "string",
- "expected_checker_id": 0,
- "expected_checker_full_name": "string",
- "checker_id": 0,
- "checker_full_name": "string",
- "request": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "value": "string",
- "description": "string"
}, - "checked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}Rejects a specific maker checker request.
| request_id required | integer ID of the maker checker request to reject. |
{- "data": {
- "id": 0,
- "type": {
- "value": "string",
- "description": "string"
}, - "manager_partner_id": 0,
- "manager_partner_name": "string",
- "maker_id": 0,
- "maker_full_name": "string",
- "expected_checker_id": 0,
- "expected_checker_full_name": "string",
- "checker_id": 0,
- "checker_full_name": "string",
- "request": {
- "property1": "string",
- "property2": "string"
}, - "status": {
- "value": "string",
- "description": "string"
}, - "checked_at": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
}| component_code | integer Enum: 0 1 Filter by component ode |
| partner_ids | Array of integers Filter by partners |
| frequency_ids | Array of integers Filter by frequency types |
| is_active | integer Enum: 0 1 Filter by active status |
| search_phrase | string Filter by search phrase |
| order_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Order by |
| per_page | integer Pagination size |
{- "data": [
- {
- "id": 0,
- "partner_id": 0,
- "name": "string",
- "frequency_id": 1,
- "icon_id": "string",
- "icon_url": "string",
- "icon_color": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": true,
- "action_scope_type_id": 1,
- "action_type_code": "string",
- "period_validity_start": "2019-08-24",
- "period_validity_end": "2019-08-24",
- "rule_definition": { },
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
]
}| component_code required | integer Enum: 1 2 |
| partner_id required | integer |
required | Array of objects |
| frequency_id | integer Enum: 1 2 3 4 5 1 => one-time, 2 => daily, 3 => weekly, 4 => monthly, 5 => yearly. Optional: when omitted it defaults to one-time, i.e. a single action per member across the whole validity window. |
| icon_id | integer |
| icon_url | string URL of the associated icon. |
| icon_color | string |
| created_date required | string <date-time> |
| is_active required | integer Enum: 0 1 |
| action_scope_type_id required | integer Enum: 1 2 1 => campaign_trigger, 2 => campaign |
| action_type_code | string Action Type Code associated with the campaign. |
| period_validity_start | string or null <date> Start date from which the campaign is valid. |
| period_validity_end | string or null <date> End date until which the campaign is valid. |
object or null Condition type the campaign is built for, as selected in the Admin Panel. When sent, it must carry a |
{- "component_code": 1,
- "partner_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "frequency_id": 1,
- "icon_id": 0,
- "icon_url": "string",
- "icon_color": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": 0,
- "action_scope_type_id": 1,
- "action_type_code": "string",
- "period_validity_start": "2019-08-24",
- "period_validity_end": "2019-08-24",
- "rule_definition": {
- "condition": "points_earned"
}
}{- "data": {
- "component_code": 1,
- "partner_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "frequency_id": 1,
- "icon_id": 0,
- "icon_url": "string",
- "icon_color": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": 0,
- "action_scope_type_id": 1,
- "action_type_code": "string",
- "period_validity_start": "2019-08-24",
- "period_validity_end": "2019-08-24",
- "rule_definition": {
- "condition": "points_earned"
}
}
}{- "data": {
- "component_code": 1,
- "partner_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "frequency_id": 1,
- "icon_id": 0,
- "icon_url": "string",
- "icon_color": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": 0,
- "action_scope_type_id": 1,
- "action_type_code": "string",
- "period_validity_start": "2019-08-24",
- "period_validity_end": "2019-08-24",
- "rule_definition": {
- "condition": "points_earned"
}
}
}| campaign_id required | integer |
| component_code required | integer Enum: 1 2 |
| partner_id required | integer |
required | Array of objects |
| frequency_id | integer Enum: 1 2 3 4 5 1 => one-time, 2 => daily, 3 => weekly, 4 => monthly, 5 => yearly. Optional: when omitted it defaults to one-time, i.e. a single action per member across the whole validity window. |
| icon_id | integer |
| icon_url | string URL of the associated icon. |
| icon_color | string |
| created_date required | string <date-time> |
| is_active required | integer Enum: 0 1 |
| action_scope_type_id required | integer Enum: 1 2 1 => campaign_trigger, 2 => campaign |
| action_type_code | string Action Type Code associated with the campaign. |
| period_validity_start | string or null <date> Start date from which the campaign is valid. |
| period_validity_end | string or null <date> End date until which the campaign is valid. |
object or null Condition type the campaign is built for, as selected in the Admin Panel. When sent, it must carry a |
{- "component_code": 1,
- "partner_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "frequency_id": 1,
- "icon_id": 0,
- "icon_url": "string",
- "icon_color": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": 0,
- "action_scope_type_id": 1,
- "action_type_code": "string",
- "period_validity_start": "2019-08-24",
- "period_validity_end": "2019-08-24",
- "rule_definition": {
- "condition": "points_earned"
}
}{- "data": {
- "component_code": 1,
- "partner_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "frequency_id": 1,
- "icon_id": 0,
- "icon_url": "string",
- "icon_color": "string",
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": 0,
- "action_scope_type_id": 1,
- "action_type_code": "string",
- "period_validity_start": "2019-08-24",
- "period_validity_end": "2019-08-24",
- "rule_definition": {
- "condition": "points_earned"
}
}
}| campaign_id required | integer |
| search_phrase | string |
| order_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" |
| per_page | integer |
{- "data": [
- {
- "id": 0,
- "names": "string",
- "is_active": true,
- "rule": { },
- "action_configuration": { },
- "created_date": "2019-08-24T14:15:22Z"
}
]
}A survey_completed condition must reference an existing Active or Paused survey of the campaign's partner; Draft, Completed and deleted surveys are rejected (422).
| campaign_id required | integer |
| id | integer |
| campaign_id | integer |
required | Array of objects |
Array of objects | |
| rule required | object |
| action_configuration required | object |
| created_date required | string <date-time> |
| is_active required | boolean |
| allow_reversal | boolean |
{- "id": 0,
- "campaign_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "descriptions": [
- {
- "en": "string",
- "ar": "string"
}
], - "rule": { },
- "action_configuration": { },
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": true,
- "allow_reversal": true
}{- "data": {
- "id": 0,
- "campaign_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "descriptions": [
- {
- "en": "string",
- "ar": "string"
}
], - "rule": { },
- "action_configuration": { },
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": true,
- "allow_reversal": true
}
}| campaign_id required | integer |
| item_id required | integer |
{- "data": {
- "id": 0,
- "campaign_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "descriptions": [
- {
- "en": "string",
- "ar": "string"
}
], - "rule": { },
- "action_configuration": { },
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": true,
- "allow_reversal": true
}
}A survey_completed condition must reference an existing Active or Paused survey of the campaign's partner; Draft, Completed and deleted surveys are rejected (422).
| campaign_id required | integer |
| item_id required | integer |
| id | integer |
| campaign_id | integer |
required | Array of objects |
Array of objects | |
| rule required | object |
| action_configuration required | object |
| created_date required | string <date-time> |
| is_active required | boolean |
| allow_reversal | boolean |
{- "id": 0,
- "campaign_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "descriptions": [
- {
- "en": "string",
- "ar": "string"
}
], - "rule": { },
- "action_configuration": { },
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": true,
- "allow_reversal": true
}{- "data": {
- "id": 0,
- "campaign_id": 0,
- "names": [
- {
- "en": "string",
- "ar": "string"
}
], - "descriptions": [
- {
- "en": "string",
- "ar": "string"
}
], - "rule": { },
- "action_configuration": { },
- "created_date": "2019-08-24T14:15:22Z",
- "is_active": true,
- "allow_reversal": true
}
}| partner_ids | Array of integers |
| start_date | string |
| end_date | string |
| is_void | boolean |
{- "partner_ids": [
- 0
], - "start_date": "string",
- "end_date": "string",
- "is_void": true
}{- "message": "Bearer token is invalid"
}| partner_ids | Array of integers |
| start_date | string |
| end_date | string |
{- "partner_ids": [
- 0
], - "start_date": "string",
- "end_date": "string"
}{- "data": {
- "amount": 0
}
}| search_phrase | string Search by message and activity |
| is_sent | boolean Filter by is_sent |
{- "data": [
- {
- "id": "string",
- "activity": "string",
- "message": "string",
- "is_send": true
}
]
}| push_time required | string |
| activity required | string |
| message required | string |
| partner_id required | integer |
| tier_ids required | Array of arrays |
{- "push_time": "string",
- "activity": "string",
- "message": "string",
- "partner_id": 0,
- "tier_ids": [
- 50,
- 60
]
}{- "data": {
- "id": 0,
- "push_time": "string",
- "activity": "string",
- "message": "string",
- "partner_id": 0,
- "partner_name": "string",
- "is_sent": true,
- "created_at": "2019-11-27 07:51:41",
- "updated_at": "2019-11-27 07:51:41",
- "tier_ids": [
- 50,
- 60
]
}
}| push_notification_id required | string |
{- "data": {
- "id": 0,
- "push_time": "string",
- "activity": "string",
- "message": "string",
- "partner_id": 0,
- "partner_name": "string",
- "is_sent": true,
- "created_at": "2019-11-27 07:51:41",
- "updated_at": "2019-11-27 07:51:41",
- "tier_ids": [
- 50,
- 60
]
}
}| push_notification_id required | string |
| push_time | string |
| activity | string |
| message | string |
| partner_id | integer |
| tier_ids | Array of arrays |
{- "push_time": "string",
- "activity": "string",
- "message": "string",
- "partner_id": 0,
- "tier_ids": [
- 50,
- 60
]
}{- "data": {
- "id": 0,
- "push_time": "string",
- "activity": "string",
- "message": "string",
- "partner_id": 0,
- "partner_name": "string",
- "is_sent": true,
- "created_at": "2019-11-27 07:51:41",
- "updated_at": "2019-11-27 07:51:41",
- "tier_ids": [
- 50,
- 60
]
}
}view_config
| partner_id | integer |
| config_key | string |
{- "data": [
- {
- "config_key": "string",
- "cash_payment_allowed_over_cap": true,
- "min_value": 0,
- "period": "daily",
- "cap_value": 0,
- "discount_perc": 0,
- "max_cash_perc": 0,
- "by_trans_class": [
- {
- "cash_payment_allowed_over_cap": true,
- "min_value": 0,
- "period": "daily",
- "cap_value": 0,
- "cap_quantity_period": "daily",
- "cap_quantity": 0,
- "discount_perc": 0,
- "max_cash_perc": 0,
- "partner_markup_type": 1,
- "partner_markup_value": 0
}
]
}
]
}update_config
| partner_id required | integer |
| config_key required | string |
| cash_payment_allowed_over_cap | boolean |
| min_value | integer |
| period | string Enum: "daily" "weekly" "monthly" "quarterly" "yearly" |
| cap_value | integer |
| discount_perc | integer |
| max_cash_perc | integer |
Array of objects |
{- "partner_id": 0,
- "config_key": "string",
- "cash_payment_allowed_over_cap": true,
- "min_value": 0,
- "period": "daily",
- "cap_value": 0,
- "discount_perc": 0,
- "max_cash_perc": 0,
- "trans_class_params": [
- {
- "cash_payment_allowed_over_cap": true,
- "min_value": 0,
- "period": "daily",
- "cap_value": 0,
- "cap_quantity_period": "daily",
- "cap_quantity": 0,
- "discount_perc": 0,
- "max_cash_perc": 0,
- "partner_markup_type": 1,
- "partner_markup_value": 0,
- "property1": 1001,
- "property2": 1001
}
]
}{- "data": [
- {
- "config_key": "string",
- "cash_payment_allowed_over_cap": true,
- "min_value": 0,
- "period": "daily",
- "cap_value": 0,
- "discount_perc": 0,
- "max_cash_perc": 0,
- "by_trans_class": [
- {
- "cash_payment_allowed_over_cap": true,
- "min_value": 0,
- "period": "daily",
- "cap_value": 0,
- "cap_quantity_period": "daily",
- "cap_quantity": 0,
- "discount_perc": 0,
- "max_cash_perc": 0,
- "partner_markup_type": 1,
- "partner_markup_value": 0
}
]
}
]
}view_mobile_game_ads
| partner_ids | Array of integers Filter by partners |
| search_phrase | string Search by title |
{- "partner_ids": [
- 0
], - "search_phrase": "string"
}{- "data": [
- {
- "id": 0,
- "title": "string",
- "partner_name": "string"
}
]
}create_mobile_game_ads
| title required | string |
| description required | string |
| url required | string <url> |
| partner_id required | integer |
| image_id | integer |
{- "title": "string",
- "description": "string",
- "url": "string",
- "partner_id": 0,
- "image_id": 0
}{- "data": {
- "id": 0,
- "title": "string",
- "description": "string",
- "partner_id": 0,
- "url": "string",
- "image_url": "string",
- "image_id": 0
}
}view_mobile_game_ads
| game_banner_id required | integer |
{- "data": {
- "id": 0,
- "title": "string",
- "description": "string",
- "partner_id": 0,
- "url": "string",
- "image_url": "string",
- "image_id": 0
}
}edit_mobile_game_ads
| game_banner_id required | integer |
| title required | string |
| description required | string |
| url required | string <url> |
| partner_id required | integer |
| image_id | integer |
{- "title": "string",
- "description": "string",
- "url": "string",
- "partner_id": 0,
- "image_id": 0
}{- "data": {
- "id": 0,
- "title": "string",
- "description": "string",
- "partner_id": 0,
- "url": "string",
- "image_url": "string",
- "image_id": 0
}
}view_shipping_company
| partner_ids | Array of integers Filter by partners |
| country_ids | Array of integers Filter by countries |
| status | string Enum: "active" "inactive" Filter by customer status |
| search_phrase | string Search by name or id (strict) |
| sort_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for List |
{- "data": [
- {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "name": "string",
- "country_name": "string"
}
]
}add_shipping_company
| name required | string |
| description | string |
| country_id | integer |
| area_id | integer |
| city_id | integer |
| status required | string Enum: "active" "inactive" |
| contact_email | string |
| contact_name | string |
| contact_number | string |
| contact_website | string |
| address_1 | string |
| address_2 | string |
| image_id | integer or null |
{- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "status": "active",
- "contact_email": "string",
- "contact_name": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "image_id": 0
}{- "data": {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "image_id": 0,
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string"
}
}view_shipping_company
| shipping_company_id required | string |
{- "data": {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "image_id": 0,
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string"
}
}edit_shipping_company
| shipping_company_id required | string |
| name required | string |
| description | string |
| country_id | integer |
| area_id | integer |
| city_id | integer |
| status required | string Enum: "active" "inactive" |
| contact_email | string |
| contact_name | string |
| contact_number | string |
| contact_website | string |
| address_1 | string |
| address_2 | string |
| image_id | integer or null |
{- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "status": "active",
- "contact_email": "string",
- "contact_name": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "image_id": 0
}{- "data": {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "image_id": 0,
- "name": "string",
- "description": "string",
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string"
}
}view_suppliers
| partner_ids | Array of integers Filter by partners |
| category_ids | Array of integers Filter by categories |
| country_ids | Array of integers Filter by countries |
| status | string Enum: "active" "inactive" Filter by statuses |
| search_phrase | string Search by name or id (strict) |
| sort_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for List |
{- "data": [
- {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "name": "string",
- "country_name": "string",
- "category_name": "string"
}
]
}create_suppliers
| name required | string |
| description | string |
| country_id | integer |
| area_id | integer |
| city_id | integer |
| status required | string Enum: "active" "inactive" |
| contact_email | string |
| contact_name | string |
| contact_number | string |
| contact_website | string |
| address_1 | string |
| address_2 | string |
| general_manager | string |
| marketing_manager | string |
| parent_id | integer |
| category_id | integer |
| voucher_type | string Enum: "online" "offline" |
| image_id | integer |
| partner_id | integer |
{- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "status": "active",
- "contact_email": "string",
- "contact_name": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "parent_id": 0,
- "category_id": 0,
- "voucher_type": "online",
- "image_id": 0,
- "partner_id": 0
}{- "data": {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "image_id": 0,
- "name": "string",
- "description": "string",
- "ucid": "string",
- "partner_id": 0,
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "parent_id": 0,
- "country_id": 0,
- "category_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string",
- "voucher_type": "online"
}
}view_suppliers
| supplier_id required | string |
{- "data": {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "image_id": 0,
- "name": "string",
- "description": "string",
- "ucid": "string",
- "partner_id": 0,
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "parent_id": 0,
- "country_id": 0,
- "category_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string",
- "voucher_type": "online"
}
}edit_suppliers
| supplier_id required | string |
| name required | string |
| description | string |
| country_id | integer |
| area_id | integer |
| city_id | integer |
| status required | string Enum: "active" "inactive" |
| contact_email | string |
| contact_name | string |
| contact_number | string |
| contact_website | string |
| address_1 | string |
| address_2 | string |
| general_manager | string |
| marketing_manager | string |
| parent_id | integer |
| category_id | integer |
| voucher_type | string Enum: "online" "offline" |
| image_id | integer |
| partner_id | integer |
{- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "status": "active",
- "contact_email": "string",
- "contact_name": "string",
- "contact_number": "string",
- "contact_website": "string",
- "address_1": "string",
- "address_2": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "parent_id": 0,
- "category_id": 0,
- "voucher_type": "online",
- "image_id": 0,
- "partner_id": 0
}{- "data": {
- "id": 0,
- "status": "active",
- "image_url": "string",
- "image_id": 0,
- "name": "string",
- "description": "string",
- "ucid": "string",
- "partner_id": 0,
- "contact_name": "string",
- "contact_email": "string",
- "contact_number": "string",
- "contact_website": "string",
- "general_manager": "string",
- "marketing_manager": "string",
- "parent_id": 0,
- "country_id": 0,
- "category_id": 0,
- "area_id": 0,
- "city_id": 0,
- "address_1": "string",
- "address_2": "string",
- "voucher_type": "online"
}
}edit_suppliers
| supplier_id required | integer |
| store_name required | string |
| store_longitude | number |
| store_latitude | number |
| store_country_id | integer |
| store_area_id | integer |
| store_city_id | integer |
| store_street | string |
| store_floor | string |
| store_building | string |
{- "store_name": "string",
- "store_longitude": 0,
- "store_latitude": 0,
- "store_country_id": 0,
- "store_area_id": 0,
- "store_city_id": 0,
- "store_street": "string",
- "store_floor": "string",
- "store_building": "string"
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "lng": 0,
- "lat": 0,
- "address": {
- "id": 0,
- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "street": "string",
- "floor": "string",
- "building": "string"
}
}
]
}view_suppliers
| supplier_id required | integer |
| store_id required | integer |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "lng": 0,
- "lat": 0,
- "address": {
- "id": 0,
- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "street": "string",
- "floor": "string",
- "building": "string"
}
}
]
}edit_suppliers
| supplier_id required | integer |
| store_id required | integer |
| store_name required | string |
| store_longitude | number |
| store_latitude | number |
| store_country_id | integer |
| store_area_id | integer |
| store_city_id | integer |
| store_street | string |
| store_floor | string |
| store_building | string |
{- "store_name": "string",
- "store_longitude": 0,
- "store_latitude": 0,
- "store_country_id": 0,
- "store_area_id": 0,
- "store_city_id": 0,
- "store_street": "string",
- "store_floor": "string",
- "store_building": "string"
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "lng": 0,
- "lat": 0,
- "address": {
- "id": 0,
- "name": "string",
- "description": "string",
- "country_id": 0,
- "area_id": 0,
- "city_id": 0,
- "street": "string",
- "floor": "string",
- "building": "string"
}
}
]
}view_ism_order_items
| date_from | string <date> Creation date from |
| date_to | string <date> Creation date to |
| order_status | string Enum: "created" "cancelled" "reversed" |
| partner_id | integer Filter by partner ID |
| supplier_id | integer Filter by supplier ID |
| batch_id | integer Filter by export batch ID |
| approved | boolean Filter by approval status |
{- "date_from": "2023-11-10",
- "date_to": "2023-11-10",
- "order_status": "created",
- "partner_id": 0,
- "supplier_id": 0,
- "batch_id": 0,
- "approved": true
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "external_grouping_order_code": "string",
- "order_component_code": "redemption",
- "locked": true,
- "supplier_order_id": "string",
- "partner_name": "string",
- "supplier_name": "string",
- "model": "string",
- "sub_model": "string",
- "sku": "string",
- "created_date": "string",
- "order_status": "created",
- "supplier_status": "Pending",
- "supplier_status_date": "string",
- "supplier_reversed_date": "string",
- "supplier_delivery_reversed_date": "string",
- "item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "default_item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "default_delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "first_name": "string",
- "last_name": "string",
- "phone": "string",
- "country": "string",
- "city": "string",
- "address": "string"
}
]
}| identifier required | string |
{- "data": {
- "id": 0,
- "external_grouping_order_code": "string",
- "order_item_code": "string",
- "product_partner_redemption_code": "string",
- "name": "string",
- "model": "string",
- "sub_model": "string",
- "brand_name": "string",
- "delivery_contacts": {
- "phone1": "string",
- "phone2": "string",
- "first_name": "string",
- "last_name": "string"
}, - "delivery_address": {
- "postal_code": "string",
- "country_code": "string",
- "area_code": "string",
- "city_code": "string",
- "address": "string",
- "country_name": "string",
- "city_name": "string",
- "area_name": "string"
}, - "partner_id": 0,
- "order_component_code": "marketplace",
- "item_status": "created",
- "status_date": "yyyy-mm-dd hh:mm:ss",
- "created_date": "yyyy-mm-dd hh:mm:ss",
- "default_supplier_id": 0,
- "default_item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "default_delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "active_supplier_order_id": 0,
- "supplier_sku": "string",
- "delivery_detail_id": 0
}
}edit_ism_order_default_values
| identifier required | string |
| default_supplier_id | string |
| default_item_cost | string |
| default_delivery_cost | string |
| default_item_cost_currency_code | string |
| default_delivery_cost_currency_code | string |
{- "default_supplier_id": "string",
- "default_item_cost": "string",
- "default_delivery_cost": "string",
- "default_item_cost_currency_code": "string",
- "default_delivery_cost_currency_code": "string"
}{- "data": {
- "id": 0,
- "external_grouping_order_code": "string",
- "order_item_code": "string",
- "product_partner_redemption_code": "string",
- "name": "string",
- "model": "string",
- "sub_model": "string",
- "brand_name": "string",
- "delivery_contacts": {
- "phone1": "string",
- "phone2": "string",
- "first_name": "string",
- "last_name": "string"
}, - "delivery_address": {
- "postal_code": "string",
- "country_code": "string",
- "area_code": "string",
- "city_code": "string",
- "address": "string",
- "country_name": "string",
- "city_name": "string",
- "area_name": "string"
}, - "partner_id": 0,
- "order_component_code": "marketplace",
- "item_status": "created",
- "status_date": "yyyy-mm-dd hh:mm:ss",
- "created_date": "yyyy-mm-dd hh:mm:ss",
- "default_supplier_id": 0,
- "default_item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "default_delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "active_supplier_order_id": 0,
- "supplier_sku": "string",
- "delivery_detail_id": 0
}
}view_ism_supplier_order_items
| id | string |
| code | string |
{- "data": [
- {
- "id": 0,
- "order_id": 0,
- "code": "string",
- "order_component_code": "string",
- "active": true,
- "added_date": "2019-08-24",
- "delivery_calculation_type_code": "per_order",
- "supplier_name": "string",
- "item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "reversed": true,
- "sku": "string",
- "delivery_reversed": true,
- "reversed_date": "2019-08-24",
- "delivery_reversed_date": "2019-08-24",
- "reconciled_date": "2019-08-24",
- "status_date": "2019-08-24",
- "status_description": "string",
- "is_exported": true
}
]
}reverse_ism_supplier_order
| id | string Supplier Order Id |
| item_code | string Supplier Order Item Code |
{- "item_code": "string"
}{- "message": "string"
}edit_ism_supplier_order
| id required | string |
| delivery_cost | string Delivery Cost Amount |
| delivery_cost_currency_code | string Delivery Cost Currency Code |
{- "delivery_cost": "string",
- "delivery_cost_currency_code": "string"
}{- "data": {
- "id": 0,
- "order_code": "string",
- "supplier_name": "string",
- "partner_id": 0,
- "status_code": "Pending",
- "status_date": "2019-08-24",
- "delivery_calculation_type_code": "per_order",
- "created_date": "2019-08-24",
- "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "version": 0,
- "is_reconciled": true,
- "is_approved": true,
- "delivery_detail_id": 0,
- "is_exported": null
}
}reverse_ism_supplier_order
| id | string Supplier Order Id |
| item_code | string Supplier Order Item Code |
{- "item_code": "string"
}{- "message": "string"
}| start_date | string <date> Min value for order creation date |
| end_date | string <date> Max value for order creation date |
| partner_id | string Partner ID of item |
| supplier_id | string Supplier ID of order |
| page | integer <int64> Page number |
| per_page | integer <int64> [ 1 .. 100 ] Number of records per page. Defaults to 15 when omitted. |
{- "data": [
- {
- "supplier_order_id": 0,
- "id": "string",
- "partner_name": "string",
- "supplier_name": "string",
- "order_date": "2019-08-24",
- "order_status": "string",
- "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "items": {
- "name": "string",
- "model": "string",
- "sub_model": "string",
- "sku": "string",
- "reversed_date": "2019-08-24",
- "delivery_reversed_date": "2019-08-24",
- "item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}
}
}
]
}view_ism_supplier_orders
| order_id required | string |
{- "data": {
- "id": 0,
- "order_code": "string",
- "supplier_name": "string",
- "partner_id": 0,
- "status_code": "Pending",
- "status_date": "2019-08-24",
- "delivery_calculation_type_code": "per_order",
- "created_date": "2019-08-24",
- "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "version": 0,
- "is_reconciled": true,
- "is_approved": true,
- "delivery_detail_id": 0,
- "is_exported": null
}
}create_ism_supplier_order
| supplier_id | integer Supplier Id |
| order_item_ids | Array of arrays Order Item IDs |
{- "supplier_id": 0,
- "order_item_ids": [ ]
}{- "data": {
- "id": 0,
- "order_code": "string",
- "supplier_name": "string",
- "partner_id": 0,
- "status_code": "Pending",
- "status_date": "2019-08-24",
- "delivery_calculation_type_code": "per_order",
- "created_date": "2019-08-24",
- "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "version": 0,
- "is_reconciled": true,
- "is_approved": true,
- "delivery_detail_id": 0,
- "is_exported": null
}
}view_ism_supplier_orders
| code required | string Example: code=KSA-O-1234567890123 19-character long code |
{- "data": {
- "id": 0,
- "order_code": "string",
- "supplier_name": "string",
- "partner_id": 0,
- "status_code": "Pending",
- "status_date": "2019-08-24",
- "delivery_calculation_type_code": "per_order",
- "created_date": "2019-08-24",
- "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "version": 0,
- "is_reconciled": true,
- "is_approved": true,
- "delivery_detail_id": 0,
- "is_exported": null
}
}view_ism_supplier_order_items
| order_id required | string |
{- "data": [
- {
- "id": 0,
- "order_item_id": 0,
- "name": "string",
- "code": "string",
- "model": "string",
- "sub_model": "string",
- "added_date": "2019-08-24",
- "reversed_date": "2019-08-24",
- "sku": "string",
- "delivery_reversed_date": "2019-08-24",
- "item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}
}
]
}create_ism_supplier_order
| order_id required | string |
| order_item_ids | Array of arrays Order Item IDs |
{- "order_item_ids": [ ]
}{- "message": "string"
}cancel_ism_supplier_order
| order_id required | string |
| supplier_order_item_ids | Array of arrays Supplier Order Items IDs |
{- "supplier_order_item_ids": [ ]
}{- "message": "string"
}edit_ism_supplier_order_item
| order_id required | string Supplier Order ID |
| id required | string Supplier Order Item ID |
| sku | string Supplier SKU code |
| item_cost | string Item Cost Amount |
| item_cost_currency_code | string Item Cost Currency Code |
| delivery_cost | string Item Delivery Cost Amount |
| delivery_cost_currency_code | string Item Delivery Cost Currency Code |
{- "sku": "string",
- "item_cost": "string",
- "item_cost_currency_code": "string",
- "delivery_cost": "string",
- "delivery_cost_currency_code": "string"
}{- "data": {
- "id": 0,
- "order_item_id": 0,
- "name": "string",
- "code": "string",
- "model": "string",
- "sub_model": "string",
- "added_date": "2019-08-24",
- "reversed_date": "2019-08-24",
- "sku": "string",
- "delivery_reversed_date": "2019-08-24",
- "item_cost": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_cost": {
- "amount": 0.1,
- "currency": "string"
}
}
}view_ism_order_items
| delivery_detail_id | integer Delivery Detail ID |
| partner_id | integer Partner ID |
{- "delivery_detail_id": 0,
- "partner_id": 0
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "partner_name": "string",
- "model": "string",
- "sub_model": "string",
- "default_supplier": "string",
- "delivery_contacts": {
- "phone1": "string",
- "phone2": "string",
- "first_name": "string",
- "last_name": "string"
}, - "delivery_address": {
- "postal_code": "string",
- "country_code": "string",
- "area_code": "string",
- "city_code": "string",
- "address": "string",
- "country_name": "string",
- "city_name": "string",
- "area_name": "string"
}
}
]
}view_ism_order_items
| date_from | string <date> Example: date_from=2023-11-10 Creation date from |
| date_to | string <date> Example: date_to=2023-11-10 Creation date to |
| supplier_id | integer Supplier Id |
| partner_id | integer Partner Id |
| file_name | string file name |
{- "data": [
- {
- "id": 0,
- "batch_code": "string",
- "file_name": "string",
- "revised_file_name": "string",
- "supplier_name": "string",
- "created_date": "yyyy-mm-dd",
- "exported_date": "yyyy-mm-dd",
- "sent_date": "yyyy-mm-dd",
- "modified_date": "yyyy-mm-dd",
- "partner_name": "string"
}
]
}view_ism_supplier_delivery_config
| supplier_id required | string |
{- "data": {
- "supplier_id": 0,
- "delivery_calculation_type_code": "per_order",
- "per_order_delivery_cost": [
- {
- "country_code": "string",
- "delivery_cost": {
- "amount": "string",
- "currency": "string"
}
}
]
}
}edit_ism_supplier_delivery_config
| supplier_id required | string |
| delivery_calculation_type_code required | string Enum: "per_item" "per_order" Delivery Calculation Type Code |
Array of objects Delivery cost details per country (Required if |
{- "delivery_calculation_type_code": "per_item",
- "per_order_delivery_cost": [
- {
- "country_code": "string",
- "delivery_cost": 0,
- "delivery_cost_currency_code": "string"
}
]
}{- "data": {
- "supplier_id": 0,
- "delivery_calculation_type_code": "per_order",
- "per_order_delivery_cost": [
- {
- "country_code": "string",
- "delivery_cost": {
- "amount": "string",
- "currency": "string"
}
}
]
}
}create_ism_supplier_delivery_config
| supplier_id required | integer Supplier Id |
| delivery_calculation_type_code required | string Enum: "per_item" "per_order" Delivery Calculation Type Code |
Array of objects Delivery cost details per country (Required if |
{- "supplier_id": 0,
- "delivery_calculation_type_code": "per_item",
- "per_order_delivery_cost": [
- {
- "country_code": "string",
- "delivery_cost": 0,
- "delivery_cost_currency_code": "string"
}
]
}{- "data": {
- "supplier_id": 0,
- "delivery_calculation_type_code": "per_order",
- "per_order_delivery_cost": [
- {
- "country_code": "string",
- "delivery_cost": {
- "amount": "string",
- "currency": "string"
}
}
]
}
}view_templates
| search_phrase | string Search phrase |
| partner_ids | Array of integers Filter by partner ids |
| per_page | integer Number of items per page |
| order_by | string Enum: "id_asc" "id_desc" "created_at_asc" "created_at_desc" Order by |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "html": "string",
- "created_at": "string",
- "updated_at": "string"
}
]
}create_templates
| name required | string |
| content required | string |
{- "name": "string",
- "content": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "content": "string",
- "images": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
}view_templates
| template_id required | string |
{- "data": {
- "id": 0,
- "name": "string",
- "content": "string",
- "images": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
}edit_templates
| template_id required | string |
| name required | string |
| content required | string |
{- "name": "string",
- "content": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "content": "string",
- "images": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
}create_templates
| template_id required | string |
| name required | string |
{- "name": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "content": "string",
- "images": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
], - "created_at": "string",
- "updated_at": "string"
}
}edit_templates
| template_id required | integer |
| media_id required | integer |
{- "data": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
]
}create_templates
| type required | string Type of email (e.g. notification) |
| email required | string Receiver address |
| content required | string JSON with template content |
{- "type": "string",
- "email": "string",
- "content": "string"
}{- "data": {
- "message": "string"
}
}view_languages
| search_phrase | string Search by name, short_code |
{- "search_phrase": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "short_code": "string"
}
}create_languages
| name required | string |
| short_code required | string |
{- "name": "string",
- "short_code": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "short_code": "string"
}
}edit_languages
| language_id required | integer |
| name | string |
| short_code | string |
{- "name": "string",
- "short_code": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "short_code": "string"
}
}view_rewarding_events
| partner_ids | Array of arrays Filter by partner or multiple partners |
| segment_ids | Array of arrays Filter by segment or multiple segments |
| status | string Enum: "Enabled" "Disabled" Filter by status |
| name | string Search by name |
| segment_name | string Search by segment name |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "segment_name": "string",
- "status": "string"
}
]
}create_rewarding_events
| name required | string |
| segment_id required | string |
| status required | string Enum: "Enabled" "Disabled" |
| occurrence_frequency required | string Enum: "Daily" "Weekly" "Monthly" "Yearly" |
| no_repeating_days required | string |
| valid_from required | string |
| valid_to required | string |
| sms_message | string |
| points_to_reward required | string |
{- "name": "string",
- "segment_id": "string",
- "status": "Enabled",
- "occurrence_frequency": "Daily",
- "no_repeating_days": "string",
- "valid_from": "string",
- "valid_to": "string",
- "sms_message": "string",
- "points_to_reward": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "segment_id": 0,
- "segment_name": "string",
- "occurrence_frequency": "string",
- "no_repeating_days": 0,
- "valid_from": "string",
- "valid_to": "string",
- "sms_message": "string",
- "points_to_reward": "string"
}
}view_rewarding_events
| rewarding_event_id required | string |
{- "data": {
- "id": 0,
- "name": "string",
- "segment_id": 0,
- "segment_name": "string",
- "occurrence_frequency": "string",
- "no_repeating_days": 0,
- "valid_from": "string",
- "valid_to": "string",
- "sms_message": "string",
- "points_to_reward": "string"
}
}edit_rewarding_events
| rewarding_event_id required | string |
| name required | string |
| segment_id required | string |
| status required | string Enum: "Enabled" "Disabled" |
| occurrence_frequency required | string Enum: "Daily" "Weekly" "Monthly" "Yearly" |
| no_repeating_days required | string |
| valid_from required | string |
| valid_to required | string |
| sms_message | string |
| points_to_reward required | string |
{- "name": "string",
- "segment_id": "string",
- "status": "Enabled",
- "occurrence_frequency": "Daily",
- "no_repeating_days": "string",
- "valid_from": "string",
- "valid_to": "string",
- "sms_message": "string",
- "points_to_reward": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "segment_id": 0,
- "segment_name": "string",
- "occurrence_frequency": "string",
- "no_repeating_days": 0,
- "valid_from": "string",
- "valid_to": "string",
- "sms_message": "string",
- "points_to_reward": "string"
}
}view_tags
| search_phrase | string Filter by name |
{- "search_phrase": "string"
}{- "data": [
- {
- "id": 0,
- "name": "string",
- "description": "string"
}
]
}create_tags
| name required | string |
| description | string |
{- "name": "string",
- "description": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "description": "string"
}
}edit_tags
| tag_id required | string |
| name required | string |
| description | string |
{- "name": "string",
- "description": "string"
}{- "data": {
- "id": 0,
- "name": "string",
- "description": "string"
}
}view_uploaded_files
{- "data": [
- {
- "id": 0,
- "created_date": "string",
- "partner_name": "string",
- "file_name": "string",
- "admin_name": "string",
- "error_file_url": "string"
}
]
}create_uploaded_files
| file required | string <binary> |
| source_type_id required | integer |
| pos_code | string |
{- "file": "string",
- "source_type_id": 0,
- "pos_code": "string"
}{- "id": 0,
- "created_date": "string",
- "partner_name": "string",
- "file_name": "string",
- "admin_name": "string",
- "error_file_url": "string"
}Sometimes you may need to get flow by access token
| X-Flow-Token | string |
{- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Creates new admin auth flow with access token which can be used to go over flow's steps
| login required | string admin account login identifier |
| password required | string <password> password |
{- "login": "string",
- "password": "pa$$word"
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Choose auth method between Google 2FA or email OTP as a flow step
| X-Flow-Token | string |
| method required | integer 1 - Google 2FA, 2 - OTP |
{- "method": 0
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Provide verification TOTP code from authenticator app
| X-Flow-Token | string |
| code required | string TOTP code from authenticator app |
{- "code": "string"
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}Send OTP(One Time Password) to mobile. First endpoint for "otp" flow step type
| X-Flow-Token | string |
{- "otp_token": "string",
- "otp_attempts": "string",
- "otp_token_expired_in_sec": "string",
- "otp_template": "login"
}Verify OTP(One Time Password). You should use otp_token provided by send otp action. Second endpoint for "otp" flow step type
| X-Flow-Token | string |
| otp_token required | string Otp token provided by send otp action |
| otp_value | string |
{- "otp_token": "string",
- "otp_value": "string"
}{- "flow_token": "7364598720736459872073645987207364598720",
- "flow": {
- "flow_access_token": "string",
- "flow": {
- "type_code": "auth",
- "active_step": {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}, - "passed_steps": [
- {
- "type_code": "otp",
- "passed": 0,
- "optional": 0,
- "allow_resend_in_sec": 0,
- "otp_token_expired_in_sec": 0,
- "otp_length": 0,
- "otp_template": "login",
- "transport_types": [
- "SMS"
]
}
]
}
}
}reset_auth_method
| admin_id required | string |
{- "data": {
- "id": 1,
- "status": "active",
- "parent_id": null,
- "title": "Mr.",
- "first_name": "string",
- "middle_name": null,
- "last_name": "string",
- "profile_image_id": 1,
- "email": "user@example.com",
- "country_id": 1,
- "area_id": 1,
- "city_id": 1,
- "address_1": "31 avenue",
- "address_2": null,
- "username": "superadmin",
- "last_login": "2021-11-11 11:51:28",
- "static_ip": "127.0.0.1",
- "has_access_to_all_partners": true,
- "login_methods": [
- "credentials",
- "oauth"
], - "can_edit_login_method": true
}
}| order_type_code | string |
| status_code | string |
| network_ids | Array of integers |
| partner_ids | Array of integers |
| search_term | string Search by: order_id |
| placement_date_from | string <date> Example: placement_date_from=2023-11-10 format Y-m-d |
| placement_date_to | string <date> Example: placement_date_to=2023-11-10 format Y-m-d |
{- "data": [
- {
- "id": 0,
- "platform_code": "string",
- "client_code": "string",
- "type_code": {
- "value": 1,
- "description": "Item"
}, - "status_code": {
- "value": 2,
- "description": "approved"
}, - "status_date": "2023-11-10 13:23:20",
- "placement_date": "2023-11-10 13:23:20",
- "rejection_reason": "Product is not available",
- "partner_name": "string"
}
]
}{- "schema": {
- "id": 0,
- "code": "string",
- "client_code": "string",
- "partner_id": 0,
- "order_type": "item",
- "status": "approved",
- "status_date": "2024-02-21 19:34:25",
- "placement_date": "2024-02-21 19:34:25",
- "rejection_reason": {
- "reason_text": "string",
- "reason_code": "string"
}, - "reversal_cancellation_reason": {
- "reason_text": "string",
- "reason_code": "string"
}, - "delivery_contacts": {
- "first_name": "string",
- "last_name": "string",
- "phone1": "string",
- "phone2": "string"
}, - "delivery_address": {
- "country_code": "str",
- "postal_code": "string",
- "city_code": "string",
- "area_code": "string",
- "address": "string",
- "address2": "string"
}, - "is_item_reversible": true,
- "is_delivery_reversible": true,
- "item": {
- "code": "string",
- "name": "string",
- "model": "string",
- "type_code": "physical_item",
- "brand_code": "string",
- "sub_model": "string",
- "category_code": "string",
- "price": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_price": {
- "amount": 0.1,
- "currency": "string"
}, - "item_cost": {
- "amount": 0.1,
- "currency": "string"
}
}
}
}Reverse Marketplace Item Order
| order_code required | string Order code on the platform side |
| reason | any Reason for reversion |
{- "reason": null
}{- "data": {
- "id": 0,
- "code": "string",
- "client_code": "string",
- "partner_id": 0,
- "order_type": "item",
- "status": "approved",
- "status_date": "2024-02-21 19:34:25",
- "placement_date": "2024-02-21 19:34:25",
- "rejection_reason": {
- "reason_text": "string",
- "reason_code": "string"
}, - "reversal_cancellation_reason": {
- "reason_text": "string",
- "reason_code": "string"
}, - "delivery_contacts": {
- "first_name": "string",
- "last_name": "string",
- "phone1": "string",
- "phone2": "string"
}, - "delivery_address": {
- "country_code": "str",
- "postal_code": "string",
- "city_code": "string",
- "area_code": "string",
- "address": "string",
- "address2": "string"
}, - "is_item_reversible": true,
- "is_delivery_reversible": true,
- "item": {
- "code": "string",
- "name": "string",
- "model": "string",
- "type_code": "physical_item",
- "brand_code": "string",
- "sub_model": "string",
- "category_code": "string",
- "price": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_price": {
- "amount": 0.1,
- "currency": "string"
}, - "item_cost": {
- "amount": 0.1,
- "currency": "string"
}
}
}
}| network_ids | Array of integers |
| partner_ids | Array of integers |
| start_date | string <date> Format Y-m-d |
| end_date | string <date> Format Y-m-d |
| search_term | string Search by: order_id |
| reference_number | string Search by: reference_number |
| type_id | integer |
{- "data": [
- {
- "id": 0,
- "created_date": "string",
- "user_id": 0,
- "user_name": "string",
- "reference_number": "string",
- "partner_id": 0,
- "partner_name": "string",
- "type": "item",
- "status": "confirmed",
- "price_in_points": 0,
- "points_to_pay": 0,
- "cash_to_pay": {
- "amount": 0.1,
- "currency": "string"
}, - "rejection_reason": "string"
}
]
}{- "schema": {
- "id": 0,
- "code": "string",
- "type": "item",
- "status": "waiting_confirmation",
- "date": "string",
- "user_id": 0,
- "rejection_reason": {
- "message": "string",
- "error_code": 0
}, - "point_payment_status": "not_applicable",
- "cash_payment_status": "not_applicable",
- "is_order_reversible": true,
- "invoice": {
- "price_in_points": 0,
- "pay_in_points": 0,
- "pay_in_cash": {
- "in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_payment_gateway_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_usd": {
- "amount": 0.1,
- "currency": "string"
}
}
}, - "invoice_before_reversal": {
- "price_in_points": 0,
- "pay_in_points": 0,
- "pay_in_cash": {
- "in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_payment_gateway_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "in_usd": {
- "amount": 0.1,
- "currency": "string"
}
}
}, - "items": [
- {
- "id": 0,
- "code": "9c6aa9b0-702c-47fc-a9a8-7b2e8dffa9be",
- "name": "string",
- "quantity": 0,
- "reversed_quantity": 0,
- "type_code": "store",
- "group": "store",
- "failed_quantity": 0,
- "confirmed_quantity": 0,
- "details_per_item": {
- "item_code": "9c6aa9b0-702c-47fc-a9a8-7b2e8dffa9be",
- "item_price_in_points": 0,
- "delivery_price_in_points": 0,
- "item_price_in_points_with_delivery": 0,
- "total_redeemed_points": 0,
- "total_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "item_redeemed_points": 0,
- "item_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "delivery_redeemed_points": 0,
- "delivery_paid_cash_in_network_currency": {
- "amount": 0.1,
- "currency": "string"
}, - "is_item_reversed": true,
- "is_delivery_reversed": true,
- "is_item_reversible": true,
- "is_delivery_reversible": true
}
}
], - "customer_details": {
- "full_name": "string",
- "email": "user@example.com",
- "mobile": "string",
- "additional_phone": "string",
- "area_id": 0,
- "area_name": "string",
- "city_id": 0,
- "city_name": "string",
- "country_id": 0,
- "country_name": "string",
- "address1": "string",
- "address2": "string",
- "postal_code": "string"
}
}
}Retrieves a list of point expiration rules based on the provided filters.
| is_active | integer Enum: 1 0 Filter by status |
| partner_ids | Array of integers Filter by partner IDs. |
{- "data": [
- {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0,
- "is_linked_to_active_configurations": true
}
]
}Creates a new point expiration rule with the provided details.
| rule_name required | string |
| rule_code required | string Unique identifier of the expiration rule. The reserved values |
| period_value required | integer |
| period required | string Enum: "DAY" "WEEK" "MONTH" "YEAR" |
| partner_id required | integer |
| is_active required | integer Enum: 1 0 |
{- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "partner_id": 0,
- "is_active": 1
}{- "data": {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0,
- "is_linked_to_active_configurations": true
}
}Retrieves details of a specific point expiration rule.
| point_expiration_rule_id required | integer ID of the point expiration rule to retrieve. |
{- "data": {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0,
- "is_linked_to_active_configurations": true
}
}Updates details of a specific point expiration rule.
| point_expiration_rule_id required | integer ID of the point expiration rule to update. |
| rule_name required | string |
| rule_code required | string Unique identifier of the expiration rule. The reserved values |
| period_value required | integer |
| period required | string Enum: "DAY" "WEEK" "MONTH" "YEAR" |
| partner_id required | integer |
| is_active required | integer Enum: 1 0 |
{- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "partner_id": 0,
- "is_active": 1
}{- "data": {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "period_value": 0,
- "period": "DAY",
- "description": "string",
- "is_active": 1,
- "partner_name": "string",
- "partner_id": 0,
- "is_linked_to_active_configurations": true
}
}Calculate validity transaction date
| date | any Transaction date |
| period | string Enum: "DAY" "WEEK" "MONTH" "YEAR" expiration period |
| period_value | integer Period value |
{- "data": {
- "period_end": "string",
- "valid_until": "string",
- "validity_period": "string",
- "period_value": 0
}
}| partner_ids | Array of integers Filter by partner IDs |
| status_ids | Array of integers Filter by survey status IDs (1=Draft, 2=Active, 3=Paused, 4=Completed, 5=Scheduled) |
| search_phrase | string Search by name |
| date_from | string <date> Lower bound (Y-m-d) of the active-period overlap filter. Returns surveys whose active period (start_date..end_date) overlaps with the supplied range. Open-ended surveys (end_date is null) are included. Surveys with no start_date are excluded when this filter is used. |
| date_to | string <date> Upper bound (Y-m-d) of the active-period overlap filter. Returns surveys whose active period (start_date..end_date) overlaps with the supplied range. Open-ended surveys (end_date is null) are included. Surveys with no start_date are excluded when this filter is used. |
| order_by | string Enum: "created_at_asc" "created_at_desc" "id_asc" "id_desc" Sorting type for list |
| per_page | integer >= 1 Pagination size |
{- "data": [
- {
- "id": 0,
- "name": "string",
- "partner_id": 0,
- "partner_name": "string",
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z"
}
], - "links": {
- "last": null,
}, - "meta": {
- "current_page": 3,
- "from": 31,
- "per_page": 15,
- "to": 45
}
}| partner_id required | integer Identifier of the partner associated with this survey. |
| reward_points required | integer [ 0 .. 10000 ] Reward points granted for completing the survey. 0 means the survey rewards nothing. |
| segment_ids | Array of integers or null Ids of the segments to target. Recipients are the union of the selected segments' members. When omitted or empty, the survey targets all eligible (non-closed) customers of the partner. |
| notification_channel required | integer Notification channel enum value. |
required | object Translatable names keyed by language code. At least an English ( |
object or null Translatable descriptions keyed by language code. Languages used must also exist in | |
required | Array of objects (survey-question) |
{- "partner_id": 0,
- "reward_points": 0,
- "segment_ids": [
- 0
], - "notification_channel": 0,
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "segments": [
- {
- "id": 0,
- "name": "string"
}
], - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "notification_channel": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}
}| id required | integer Survey ID |
{- "data": {
- "id": 0,
- "partner_id": 0,
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "segments": [
- {
- "id": 0,
- "name": "string"
}
], - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "notification_channel": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}
}Full content update for a survey in DRAFT status. Requires the same payload shape as creating a survey. Returns 422 if the survey is not in draft state — use PATCH /surveys/{id} for active/paused content edits, or POST /surveys/{id}/status for status transitions.
| id required | integer Survey ID |
| partner_id required | integer Identifier of the partner associated with this survey. |
| reward_points required | integer [ 0 .. 10000 ] Reward points granted for completing the survey. 0 means the survey rewards nothing. |
| segment_ids | Array of integers or null Ids of the segments to target. Recipients are the union of the selected segments' members. When omitted or empty, the survey targets all eligible (non-closed) customers of the partner. |
| notification_channel required | integer Notification channel enum value. |
required | object Translatable names keyed by language code. At least an English ( |
object or null Translatable descriptions keyed by language code. Languages used must also exist in | |
required | Array of objects (survey-question) |
{- "partner_id": 0,
- "reward_points": 0,
- "segment_ids": [
- 0
], - "notification_channel": 0,
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "segments": [
- {
- "id": 0,
- "name": "string"
}
], - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "notification_channel": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}
}Partial update allowed only when the survey is in ACTIVE or PAUSED status. Returns 422 if the survey is in any other status.
Descriptions may always be changed. The start/end window may be changed only while the survey
has not started — that is, while its start date is still in the future and no invitations have
gone out. Once the start date is reached, start_date and end_date are read-only and sending
either returns 422. Dates are day-only (YYYY-MM-DD).
| id required | integer Survey ID |
object or null Translatable descriptions keyed by language code. Optional during active/paused updates. Each value is limited to 2000 characters. | |
| start_date | string or null <date> Optional new start date, day-only ( |
| end_date | string or null <date> Optional new end date, day-only ( |
{- "descriptions": {
- "en": "Updated description",
- "ar": "وصف محدث"
}, - "start_date": "2026-08-01",
- "end_date": "2026-08-31"
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "segments": [
- {
- "id": 0,
- "name": "string"
}
], - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "notification_channel": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}
}Change the lifecycle status of a survey. Allowed transitions:
Returns 422 for disallowed transitions.
scheduled (5) is assigned by the platform and cannot be requested here; a request with
status: 5 is rejected as a disallowed transition.
Requesting active on a survey whose start_date has not been reached stores scheduled
rather than active, so a resumed survey does not re-enter the "active but not yet sent"
state. The dispatch scheduler promotes it to active on the start date. Resuming a survey
whose start_date has already passed stores active as before.
Activating a survey (transitioning to active) additionally requires the survey's end_date
to be later than the current date — activating a survey whose end_date is in the past
returns 422.
| id required | integer Survey ID |
| status required | integer Enum: 1 2 3 4 5 New status value: 1=draft, 2=active, 3=paused, 4=completed, 5=scheduled. |
{- "status": 1
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "segments": [
- {
- "id": 0,
- "name": "string"
}
], - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "notification_channel": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}
}Publish a draft survey: capture its active-window Start/End date-time and activate it. Only draft surveys can be published. Start must not be in the past and End must be after Start.
| survey_id required | integer Survey ID |
| start_date required | string <date-time> Survey active-window start (date and time). Must not be in the past. |
| end_date required | string <date-time> Survey active-window end (date and time). Must be after start_date. |
{- "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z"
}{- "data": {
- "id": 0,
- "partner_id": 0,
- "reward_points": 0,
- "status": {
- "value": "string",
- "description": "string"
}, - "segments": [
- {
- "id": 0,
- "name": "string"
}
], - "start_date": "2019-08-24T14:15:22Z",
- "end_date": "2019-08-24T14:15:22Z",
- "notification_channel": 0,
- "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "names": {
- "en": "Survey name",
- "ar": "اسم الاستطلاع"
}, - "descriptions": {
- "en": "Survey description",
- "ar": "وصف الاستطلاع"
}, - "questions": [
- {
- "id": 0,
- "question_type": 1,
- "display_order": 0,
- "is_required": true,
- "configuration": {
- "scale_min": 1,
- "scale_max": 10
}, - "texts": {
- "en": "How satisfied are you?",
- "ar": "ما مدى رضاك؟"
}
}
]
}
}Returns a survey overview report consisting of:
Only completed responses contribute to the per-question breakdown, to total_responses and to the
response rate. total_opened and total_started count the earlier lifecycle stages: the survey
was loaded, and at least one question was answered.
| id required | integer Survey ID |
{- "data": {
- "survey": {
- "id": 0,
- "name": "string",
- "status": {
- "value": "string",
- "description": "string"
}
}, - "summary": {
- "total_responses": 0,
- "total_invitations": 0,
- "total_opened": 0,
- "total_started": 0,
- "response_rate": 0.1,
- "total_points_distributed": 0.1
}, - "questions": [
- {
- "id": 0,
- "display_order": 0,
- "question_type": {
- "value": "string",
- "description": "string"
}, - "text": "string",
- "scale_min": 0,
- "scale_max": 0,
- "total_answers": 0,
- "mean": 0.1,
- "breakdown": [
- {
- "label": "string",
- "count": 0,
- "percentage": 0
}
]
}
]
}
}Streams a CSV file containing the raw per-answer rows for a survey, including both
completed and in-progress responses. One row per answer; columns include survey, response,
member, question and answer details, plus the response lifecycle timestamps: opened_at
(the survey was loaded), started_at (the first question was answered) and submitted_at.
| id required | integer Survey ID |
{- "message": "Bearer token is invalid"
}{- "data": [
- {
- "partner_id": 0,
- "partner_name": "string",
- "partner_status": "Enabled",
- "partner_code": "string",
- "country_id": 0,
- "country_name": "string",
- "country_short_code": "string",
- "eco2": "string",
- "vpo": "string"
}
]
}Retrieves a list of static enumerations. Clients can specify which enums they wish to retrieve via a query parameter. It is recommended to cache the results on your side for efficient usage of this endpoint.
| enums | Array of strings Items Enum: "sms_gateways" "member_notifications" "marketplace_order_statuses" "maker_checker_request_types" "maker_checker_request_statuses" "survey_statuses" "survey_question_types" "survey_notification_channels" "loyalty_rule_earning_types" "loyalty_rule_occurrence_policies" "loyalty_rule_occurrence_periods" "loyalty_rule_occurrence_scopes" "loyalty_rule_condition_types" A list of enum keys to filter the results by. If omitted, all enums are returned. |
{- "data": {
- "sms_gateways": [
- {
- "value": "string",
- "description": "string"
}
], - "member_notifications": [
- {
- "value": "string",
- "description": "string"
}
], - "marketplace_order_statuses": [
- {
- "value": "string",
- "description": "string"
}
], - "reward_event_types": [
- {
- "value": "string",
- "description": "string"
}
], - "accumulator_frequencies": [
- {
- "value": "string",
- "description": "string"
}
], - "trigger_frequencies": [
- {
- "value": "string",
- "description": "string"
}
], - "trigger_action_types": [
- {
- "value": "string",
- "description": "string"
}
], - "badge_action_types": [
- {
- "value": "string",
- "description": "string"
}
], - "trigger_action_scope_types": [
- {
- "value": "string",
- "description": "string"
}
], - "trigger_conditions": [
- {
- "value": "string",
- "description": "string"
}
], - "badge_conditions": [
- {
- "value": "string",
- "description": "string"
}
], - "condition_comparison_operators": [
- {
- "value": "string",
- "description": "string"
}
], - "trigger_component_codes": [
- {
- "value": "string",
- "description": "string"
}
], - "webhook_request_statuses": [
- {
- "value": "string",
- "description": "string"
}
], - "survey_statuses": [
- {
- "value": "string",
- "description": "string"
}
], - "survey_question_types": [
- {
- "value": "string",
- "description": "string"
}
], - "survey_notification_channels": [
- {
- "value": "string",
- "description": "string"
}
], - "loyalty_rule_earning_types": [
- {
- "value": "string",
- "description": "string"
}
], - "loyalty_rule_occurrence_policies": [
- {
- "value": "string",
- "description": "string"
}
], - "loyalty_rule_occurrence_periods": [
- {
- "value": "string",
- "description": "string"
}
], - "loyalty_rule_occurrence_scopes": [
- {
- "value": "string",
- "description": "string"
}
], - "loyalty_rule_condition_types": [
- {
- "value": "POS environment code",
- "supported_comparison_operators": [
- {
- "value": "equal",
- "sign": "="
}
]
}
], - "events": [
- {
- "entity": "Marketplace order",
- "events": [
- {
- "key": "marketplace.order.approved",
- "value": "1"
}
]
}
]
}
}| network_ids | Array of integers Filter by network ids |
| network_id | string Deprecated Filter by network |
| country_id | string Filter by country |
| area_id | string Filter by area |
| city_id | string Filter by city |
| member_id | string Filter by member |
| with_disabled | boolean Include disabled Partners in list |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "prefix": "string",
- "code": "string"
}
]
}| partner_ids | Array of arrays Filter by partner or multiple partners |
| status | string Enum: "active" "inactive" Filter suppliers by status |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}view_notifications
| network_id | string Filter by network |
| with_disabled | boolean Include disabled Partners in list |
{- "data": [
- {
- "partner_id": "string",
- "partner_name": "string",
- "sms_gateway_name": "string"
}
]
}Lightweight, partner-scoped survey picker for the trigger-item rule builder (survey_completed condition). Returns only Active and Paused surveys — Draft, Completed, and deleted surveys are excluded so a reward cannot be attached to a finished survey. The full list is returned (no pagination), ordered by creation date descending (newest first).
| partner_id | string Filter by partner |
| search_phrase | string Filter by survey name |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}view_admins, view_maker_checker_request
| search_phrase | string Filter by search phrase |
| with_disabled | boolean Include disabled |
| partner_ids | Array of integers Filter by partner or multiple partners |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}List of networks sorted alphabetically
| member_id | integer Filter by member |
| partner_ids | Array of integers Filter by partner |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}Currencies list
| search_phrase | string Filter by search phrase based on name, short code |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "exchange_rate": 0,
- "short_code": "string"
}
]
}| search_phrase | string Filter by search phrase |
| partner_id | integer Filter by partner |
| network_id | integer Filter by network |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "brand_name": "string",
- "model_name": "string"
}
]
}| search_phrase | string Filter by search phrase |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "brand_name": "string",
- "model_name": "string"
}
]
}| partner_id required | string Filter by partner |
| network_id required | integer Filter by network |
| country_id required | integer Filter by redemption country |
| search_phrase | string Filter by search phrase |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "model_name": "string",
- "brand_name": "string",
- "price_with_delivery_in_points": "6,500"
}
]
}| partner_id | integer Filter by partner |
| format_tree | boolean Formating categories in a tree structure |
| with_trashed | boolean Include trashed categories |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "children": [ ]
}
]
}| partner_id | string Filter by partner, required with:is_reward, is_redemption parameters |
| with_disabled | boolean Include disabled |
| is_reward | boolean |
| is_redemption | boolean |
{- "data": [
- {
- "id": 0,
- "name": "string"
}
]
}| partner_id | integer Filter by partner |
| status | string Enum: "Enrolled" "NotEnrolled" Filter by status |
| search_phrase | string Filter by search phrase |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| partner_id | string Filter by partner |
| accumulator_id | string Filter the caps based on the specified accumulator type (points or money) |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}view_tickets || view_notifications
| search | any Filter by search phrase |
| field | string Enum: "id" "reference" "partner_user_code" "ucid" "username" "email" "mobile" "full_name" Specifies the target field |
| partner_ids | Array of arrays Filter by partner or multiple partners |
| network_ids | Array of arrays Filter by network or multiple networks |
| card_bin | any Filter by card number bin |
| card_last_4 | any Filter by card number last 4 digit |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string"
}
]
}| partner_ids | Array of arrays Filter by partner |
| with_disabled | boolean Include disabled |
{- "data": [
- {
- "id": "string",
- "name": "string",
- "code": "string",
- "config": {
- "membership_number": {
- "required": true,
- "validation_type": "numeric",
- "length": 0,
- "regex": "/^(?:(\\d{9}(\\d{3})?)|([a-zA-Z0-9]{11}([a-zA-Z0-9]{2})?))$/"
}, - "is_first_last_name_required": true,
- "is_mobile_number_required": true,
- "is_email_required": true,
- "currency_program_label": {
- "en": "Skywards Miles",
- "ar": "أميال سكاي واردز",
- "fr": "Miles Skywards"
}
}
}
]
}| partner_id required | integer Filter by partner IDs |
| is_active | boolean When |
| network_id | integer Optional. Selects which of the partner's networks decides the default rule flagged by |
{- "data": [
- {
- "id": 0,
- "rule_name": "string",
- "rule_code": "string",
- "partner_name": "string",
- "partner_id": 0,
- "period": "DAY",
- "period_value": 0,
- "is_active": true,
- "is_default": true
}
]
}| image required | string <binary> Image to upload |
{- "data": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
]
}| image | string Image URL to upload |
{- "data": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
]
}| media_id required | integer |
| original_name required | string New original name |
{- "data": [
- {
- "id": "string",
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string"
}
]
}| is_active | integer Enum: 0 1 Filter by active status (1 active, 0 inactive) |
| search_phrase | string Filter by name |
| per_page | integer |
{- "data": [
- {
- "id": 0,
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string",
- "is_active": true
}
]
}| original_name required | string Original filename to store |
| image required | string <binary> Image file to upload (svg or png) |
| is_active required | integer Enum: 0 1 Whether the icon should be active (1) or inactive (0) |
{- "data": {
- "id": 0,
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string",
- "is_active": true
}
}| icon_id required | integer Icon ID |
| original_name required | string Original filename to store |
| image | string <binary> Image file to upload (svg or png). Optional; if omitted, only metadata is updated |
| is_active required | integer Enum: 0 1 Whether the icon should be active (1) or inactive (0) |
{- "data": {
- "id": 0,
- "url": "string",
- "original_name": "string",
- "type": "string",
- "size": 0,
- "ext": "string",
- "is_active": true
}
}getEtlProcess
| process_id required | integer |
| signature required | string |
{- "data": {
- "id": 0,
- "report_code": "string",
- "status": "created",
- "request": { },
- "created_at": "2020-01-28 21:23:12",
- "updated_at": "2020-01-28 21:23:12"
}, - "urls": {
- "status": "string",
- "records": "string",
- "export": "string"
}
}{- "data": [
- {
- "id": 0,
- "date": "string",
- "partner_name": "string",
- "type": "reversal",
- "rule_name": "string",
- "points": "string",
- "amount": 0,
- "partner_currency_code": "string"
}
], - "totals": {
- "amt_redeem": 0,
- "amt_reward": 0,
- "pts_redeem": 0,
- "pts_reward": 0,
- "trx_redeem": 0,
- "trx_reward": 0
}
}view_saga_process
| saga_code | string Search by saga code |
| status | string Enum: "processing" "sleeping" "expecting" "erroneous" "fail" "expectation_taken" Filter by status |
{- "saga_code": "string",
- "status": "processing"
}{- "data": [
- {
- "id": 0,
- "saga_code": "string",
- "status": "processing",
- "is_reverting": true,
- "active_step_code": "string",
- "message": "string",
- "created_at": "2020-01-28",
- "updated_at": "2020-01-28",
- "retry_at": "2020-01-28"
}
]
}view_saga_process
| process_id required | string |
{- "data": {
- "id": 0,
- "saga_code": "string",
- "status": "processing",
- "is_reverting": true,
- "active_step_code": "string",
- "message": "string",
- "created_at": "2020-01-28",
- "retry_at": "2020-01-28",
- "updated_at": "2020-01-28",
- "expectation_code": "string",
- "expectation": "string",
- "saga_data": "string",
- "error_resolver": "string",
- "saga_data_details": {
- "id": 0,
- "status": "in_process",
- "type": "item",
- "user_id": "string",
- "user_reference": "string",
- "partner_id": "string",
- "partner_code": "string",
- "partner_name": "string",
- "json": "string"
}
}
}retry_failed_saga_process
| process_id required | string |
{- "data": {
- "id": 0,
- "saga_code": "string",
- "status": "processing",
- "is_reverting": true,
- "active_step_code": "string",
- "message": "string",
- "created_at": "2020-01-28",
- "retry_at": "2020-01-28",
- "updated_at": "2020-01-28",
- "expectation_code": "string",
- "expectation": "string",
- "saga_data": "string",
- "error_resolver": "string",
- "saga_data_details": {
- "id": 0,
- "status": "in_process",
- "type": "item",
- "user_id": "string",
- "user_reference": "string",
- "partner_id": "string",
- "partner_code": "string",
- "partner_name": "string",
- "json": "string"
}
}
}revert_failed_saga_process
| process_id required | string |
{- "data": {
- "id": 0,
- "saga_code": "string",
- "status": "processing",
- "is_reverting": true,
- "active_step_code": "string",
- "message": "string",
- "created_at": "2020-01-28",
- "retry_at": "2020-01-28",
- "updated_at": "2020-01-28",
- "expectation_code": "string",
- "expectation": "string",
- "saga_data": "string",
- "error_resolver": "string",
- "saga_data_details": {
- "id": 0,
- "status": "in_process",
- "type": "item",
- "user_id": "string",
- "user_reference": "string",
- "partner_id": "string",
- "partner_code": "string",
- "partner_name": "string",
- "json": "string"
}
}
}| partner_id | integer Filter by partner ID |
| per_page | integer >= 1 Default: 15 Number of items per page |
{- "data": [
- {
- "id": 0,
- "partner_id": 0,
- "partner_name": "string",
- "title": "string",
- "url": "string",
- "verify_ssl": true,
- "events": [
- {
- "key": "marketplace.order.approved",
- "value": 1
}
], - "created_at": "2019-08-24T14:15:22Z",
- "updated_at": "2019-08-24T14:15:22Z",
- "statistics": {
- "initiated": 0,
- "pending": 0,
- "processing": 0,
- "failed": 0,
- "succeeded": 0,
- "unreachable": 0
}
}
], - "links": {
}, - "meta": {
- "current_page": 3,
- "from": 31,
- "last_page": 10,
- "per_page": 15,
- "to": 45,
- "total": 150
}
}| partner_id required | integer Partner ID |
| title required | string [ 2 .. 255 ] characters Webhook title |
| url required | string <uri> <= 500 characters Webhook URL |
| secret required | string [ 8 .. 255 ] characters Secret key for webhook authentication |
| verify_ssl required | integer Enum: 0 1 Whether to verify SSL certificate (0 or 1) |
| events required | Array of integers non-empty [ items >= 1 ] Array of event type IDs |
{- "partner_id": 123,
- "title": "Order Notifications",
- "secret": "your-secret-key",
- "verify_ssl": 1,
- "events": [
- 1,
- 2
]
}{- "data": {
- "id": 1,
- "partner_id": 123,
- "partner_name": "Acme Corp",
- "title": "Order Notifications",
- "verify_ssl": true,
- "events": [
- {
- "key": "marketplace.order.approved",
- "value": 1
}, - {
- "key": "marketplace.order.rejected",
- "value": 2
}
], - "created_at": "2024-01-15 10:30:00",
- "updated_at": "2024-01-20 14:45:00",
- "statistics": {
- "initiated": 5,
- "pending": 12,
- "processing": 3,
- "failed": 2,
- "succeeded": 1543,
- "unreachable": 8
}
}
}{- "data": {
- "id": 1,
- "partner_id": 123,
- "partner_name": "Acme Corp",
- "title": "Order Notifications",
- "verify_ssl": true,
- "events": [
- {
- "key": "marketplace.order.approved",
- "value": 1
}, - {
- "key": "marketplace.order.rejected",
- "value": 2
}
], - "created_at": "2024-01-15 10:30:00",
- "updated_at": "2024-01-20 14:45:00",
- "statistics": {
- "initiated": 5,
- "pending": 12,
- "processing": 3,
- "failed": 2,
- "succeeded": 1543,
- "unreachable": 8
}
}
}| id required | integer Webhook ID |
| title required | string [ 2 .. 255 ] characters Webhook title |
| url required | string <uri> <= 500 characters Webhook URL |
| secret | string [ 8 .. 100 ] characters Secret key for webhook authentication |
| verify_ssl required | integer Enum: 0 1 Whether to verify SSL certificate (0 or 1) |
| events required | Array of integers non-empty [ items >= 1 ] Array of event type IDs |
{- "title": "Updated Order Notifications",
- "secret": "your-secret-key",
- "verify_ssl": 0,
- "events": [
- 1,
- 2
]
}{- "data": {
- "id": 1,
- "partner_id": 123,
- "partner_name": "Acme Corp",
- "title": "Order Notifications",
- "verify_ssl": true,
- "events": [
- {
- "key": "marketplace.order.approved",
- "value": 1
}, - {
- "key": "marketplace.order.rejected",
- "value": 2
}
], - "created_at": "2024-01-15 10:30:00",
- "updated_at": "2024-01-20 14:45:00",
- "statistics": {
- "initiated": 5,
- "pending": 12,
- "processing": 3,
- "failed": 2,
- "succeeded": 1543,
- "unreachable": 8
}
}
}| id required | integer Webhook ID |
| status | integer Example: status=3 Filter by request status (1=Initiated, 2=Pending, 3=Processing, 4=Failed, 5=Succeeded) |
| per_page | integer >= 1 Default: 15 Example: per_page=15 Number of items per page |
{- "data": [
- {
- "id": 12345,
- "status": {
- "value": 3,
- "description": "Processing"
}, - "event": {
- "key": "marketplace.order.approved",
- "value": 1
}, - "last_response": "{\"error\": \"Internal server error\"}",
- "last_http_code": 500,
- "first_attempt_at": "2024-01-15 10:30:00",
- "last_attempt_at": "2024-01-15 14:45:00",
- "attempt_count": 8,
- "created_at": "2024-01-15 10:30:00"
}
], - "links": {
- "last": null,
}, - "meta": {
- "current_page": 3,
- "from": 31,
- "per_page": 15,
- "to": 45
}
}