Retail Express API 2.1

Searches Loyalty History

Searches Loyalty History

get
https://api.retailexpress.com.au/v2.1/loyaltyhistory

Query Parameters

filter_bystring | null

Filter by.
Available field name values: created_on, order_id, order_number, product_id, supplier_sku, adjustment_reason_id, loyalty_points_delta, loyalty_points_available, ratio.

In string values: ‘|’ and ‘,’ characters have to be escaped with slash, i.e. ‘\,’ ‘\|’

For operators that support multiple values (in, notin): multiple values are delimited using ‘|’ character

Available operators:

eq - Equal

neq - Not equals

lt - Less

lte - Less or equal

gt - Greater

gte - Greater or equal

in - In

notin - Not In

contains - Contains

isnull - Is Null

isnullorempty - Is Null Or Empty

isnotnull - Is Not Null

startswith - Starts with

endswith - Ends with

doesnotcontain - Does not contain

For non-nullable fields operators isnull and isnotnull are unavailable

For strings operators: lt, lte, gt, gte are unavailable

Example: order_id:eq:1, supplier_sku:eq:test

order_bystring | null

Order by.

Available field name values: id, created_on, order_id, product_id, adjustment_reason, loyalty_points_delta.

Available direction values: asc, desc.

Example: id asc, name desc

page_numberinteger(int32)

>= 1<= 100000

page_sizeinteger(int32)

>= 1<= 2147483647

Headers

x-api-keystringrequired

Api subscription key

Cache-Controlstring

Default:no-cache

Authorizationstringrequired

Bearer token for authorization (e.g., Bearer )

Response

application/json

Returns Loyalty History data

LoyaltyHistory.PagingResponse

* Additional properties are NOT allowed.
dataarray | null[object]

Loyalty History model

* Additional properties are NOT allowed.
Show Child Parameters
page_numberinteger(int32)
page_sizeinteger(int32)
total_recordsinteger(int32)
get/loyaltyhistory
 
application/json

maxdiscountrules

Searches Max Discount Rules by parameters

Searches Max Discount Rules by parameters

get
https://api.retailexpress.com.au/v2.1/maxdiscountrules

Query Parameters

idsstring | null

Max discount rule Ids. (comma separated)
Other properties are skipped, if used.
Example: 2,3,4

namestring | null

Max discount rule name

modified_sincestring | null(date-time)

Modified since

order_bystring | null

Order by.

Available field name values: id (default), name, type, value, modified_on

Available direction values: asc, desc.

Example: name asc, type asc, modified_on desc

page_numberinteger(int32)

>= 1<= 100000

page_sizeinteger(int32)

>= 1<= 2147483647

Headers

x-api-keystringrequired

Api subscription key

Cache-Controlstring

Default:no-cache

Authorizationstringrequired

Bearer token for authorization (e.g., Bearer )

Response

application/json

Paging Response with Max Discount Rules data

MaxDiscountRule.PagingResponse

* Additional properties are NOT allowed.
dataarray | null[object]

Max Discount Rule Model

* Additional properties are NOT allowed.
Show Child Parameters
page_numberinteger(int32)
page_sizeinteger(int32)
total_recordsinteger(int32)
get/maxdiscountrules
 
application/json

Gets specific Max Discount Rule by unique id

Gets specific Max Discount Rule by unique id

get
https://api.retailexpress.com.au/v2.1/maxdiscountrules/{id}

Path Parameters

idinteger(int32)required

Max Discount Rule id

Example:10

Headers

x-api-keystringrequired

Api subscription key

Cache-Controlstring

Default:no-cache

Authorizationstringrequired

Bearer token for authorization (e.g., Bearer )

Response

application/json

Returns found Max Discount Rule

MaxDiscountRule

Max Discount Rule Model

* Additional properties are NOT allowed.
idinteger | null(int32)

Max Discount Rule Id.

namestring | null

Max Discount Rule name.

>= 0 characters<= 50 characters

valuenumber(double)

Max Discount Rule value.

typestring | null

Discount Type.

modified_onstring(date-time)

Modified on

get/maxdiscountrules/{id}
 
application/json

orderfulfilments