Loyalty

get
/loyalty/accounts/

This method returns details about a specific loyalty account, including its ID, currency, balance, and whether debit is allowed. It also includes the account number, UUID, creation and modification timestamps, and the associated user email if available.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
balancenumberOptional

Query parameter balance used to filter results based on specific conditions.

created_datestring · date-timeOptional

Query parameter created_date used to filter results based on specific conditions.

currencystring · enumOptional

Query parameter currency used to filter results based on specific conditions.

Possible values:
debit_allowedbooleanOptional

Query parameter debit_allowed used to filter results based on specific conditions.

idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

limitintegerOptional

Limits the number of results returned in the response.

modified_datestring · date-timeOptional

Query parameter modified_date used to filter results based on specific conditions.

modified_date__gtstring · date-timeOptional

Filters records where modified_date is greater than the given value.

modified_date__gtestring · date-timeOptional

Filters records where modified_date is greater than or equal to the given value.

modified_date__ltstring · date-timeOptional

Filters records where modified_date is less than the given value.

modified_date__ltestring · date-timeOptional

Filters records where modified_date is less than or equal to the given value.

numberstringOptional

Query parameter number used to filter results based on specific conditions.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

userintegerOptional

Query parameter user used to filter results based on specific conditions.

user_emailstringOptional

Query parameter user_email used to filter results based on specific conditions.

uuidstring · uuidOptional

Query parameter uuid used to filter results based on specific conditions.

Responses
chevron-right
200

Successful response for status code 200.

application/json
countintegerOptional

Numerical value representing quantity or total amount.

Example: 123
nextstring · uri · nullableOptional

This field defines the URL of the next page.

Example: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptional

This field defines the URL of the previous page.

Example: http://api.example.org/accounts/?page=2
get
/loyalty/accounts/
200

Successful response for status code 200.

get
/loyalty/accounts/{id}/

This method returns details about a specific loyalty account, including its ID, currency, balance, and whether debit is allowed. It also includes the account number, UUID, creation and modification timestamps, and the associated user email if available. This endpoint retrieves a specific record by its unique identifier.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this loyalty account.

Responses
chevron-right
200

Successful response for status code 200.

application/json
balancestring · decimalOptional

The field defines the balance available in the loyalty account.

Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
created_datestring · date-timeOptional

Timestamp indicating when the record was created.

currencystring · enumOptional

The field defines the currency of the loyalty transaction.

Possible values:
debit_allowedbooleanOptional

The field defines whether debit transactions are allowed on the loyalty account.

idintegerOptional

Unique identifier for the record.

modified_datestring · date-timeOptional

This field defines the last updated date.

numberstring · max: 128 · nullableOptional

The field defines the loyalty account number.

userinteger · nullableOptional

This field defines the user who triggered the event.

user_emailstring · max: 128 · nullableOptional

Email address of the user or entity.

uuidstring · uuidOptional

Unique identifier for the record.

get
/loyalty/accounts/{id}/
get
/loyalty/transactions/

This method returns details about a specific loyalty transaction, including its ID, currency, amount, and reference number. It also includes the associated user email, order ID, user ID, remote address, and timestamps for creation and modification.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
amountnumberOptional

Query parameter amount used to filter results based on specific conditions.

created_datestring · date-timeOptional

Query parameter created_date used to filter results based on specific conditions.

currencystringOptional

Query parameter currency used to filter results based on specific conditions.

idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

limitintegerOptional

Limits the number of results returned in the response.

modified_datestring · date-timeOptional

Query parameter modified_date used to filter results based on specific conditions.

modified_date__gtstring · date-timeOptional

Filters records where modified_date is greater than the given value.

modified_date__gtestring · date-timeOptional

Filters records where modified_date is greater than or equal to the given value.

modified_date__ltstring · date-timeOptional

Filters records where modified_date is less than the given value.

modified_date__ltestring · date-timeOptional

Filters records where modified_date is less than or equal to the given value.

orderintegerOptional

Query parameter order used to filter results based on specific conditions.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

referencestringOptional

Query parameter reference used to filter results based on specific conditions.

remote_addrstringOptional

Query parameter remote_addr used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

userintegerOptional

Query parameter user used to filter results based on specific conditions.

user_emailstringOptional

Query parameter user_email used to filter results based on specific conditions.

uuidstring · uuidOptional

Query parameter uuid used to filter results based on specific conditions.

Responses
chevron-right
200

Successful response for status code 200.

application/json
countintegerOptional

Numerical value representing quantity or total amount.

Example: 123
nextstring · uri · nullableOptional

This field defines the URL of the next page.

Example: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptional

This field defines the URL of the previous page.

Example: http://api.example.org/accounts/?page=2
get
/loyalty/transactions/
200

Successful response for status code 200.

get
/loyalty/transactions/{id}/

This method returns details about a specific loyalty transaction, including its ID, currency, amount, and reference number. It also includes the associated user email, order ID, user ID, remote address, and timestamps for creation and modification. This endpoint retrieves a specific record by its unique identifier.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this loyalty transaction.

Responses
chevron-right
200

Successful response for status code 200.

application/json
amountstring · decimalOptional

The field defines the total amount of the loyalty transaction.

Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
created_datestring · date-timeOptional

Timestamp indicating when the record was created.

currencystring · enumOptional

The field defines the currency of the loyalty transaction.

Possible values:
idintegerOptional

Unique identifier for the record.

modified_datestring · date-timeOptional

This field defines the last updated date.

orderintegerOptional

The field defines the order of the category node.

referencestring · max: 128 · nullableOptional

This field defines a reference for the basket item.

remote_addrstring · nullableOptional

This field defines the IP address of the client making the request.

userintegerOptional

This field defines the user who triggered the event.

user_emailstring · max: 256Optional

Email address of the user or entity.

uuidstring · uuidOptional

Unique identifier for the record.

get
/loyalty/transactions/{id}/
get
/loyalty/transfers/

This method returns details about a specific loyalty transfer, including its ID, currency, amount, and reference number. It also includes the associated loyalty account ID, transaction ID, and timestamps for creation and modification.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Query parameters
accountintegerOptional

Query parameter account used to filter results based on specific conditions.

amountnumberOptional

Query parameter amount used to filter results based on specific conditions.

created_datestring · date-timeOptional

Query parameter created_date used to filter results based on specific conditions.

currencystringOptional

Query parameter currency used to filter results based on specific conditions.

idintegerOptional

Query parameter id used to filter results based on specific conditions.

id__gtintegerOptional

Filters records where id is greater than the given value.

id__gteintegerOptional

Filters records where id is greater than or equal to the given value.

id__ltintegerOptional

Filters records where id is less than the given value.

id__lteintegerOptional

Filters records where id is less than or equal to the given value.

limitintegerOptional

Limits the number of results returned in the response.

modified_datestring · date-timeOptional

Query parameter modified_date used to filter results based on specific conditions.

modified_date__gtstring · date-timeOptional

Filters records where modified_date is greater than the given value.

modified_date__gtestring · date-timeOptional

Filters records where modified_date is greater than or equal to the given value.

modified_date__ltstring · date-timeOptional

Filters records where modified_date is less than the given value.

modified_date__ltestring · date-timeOptional

Filters records where modified_date is less than or equal to the given value.

pageintegerOptional

Query parameter page used to filter results based on specific conditions.

referencestringOptional

Query parameter reference used to filter results based on specific conditions.

sortstringOptional

Query parameter sort used to filter results based on specific conditions.

transactionintegerOptional

Query parameter transaction used to filter results based on specific conditions.

uuidstring · uuidOptional

Query parameter uuid used to filter results based on specific conditions.

Responses
chevron-right
200

Successful response for status code 200.

application/json
countintegerOptional

Numerical value representing quantity or total amount.

Example: 123
nextstring · uri · nullableOptional

This field defines the URL of the next page.

Example: http://api.example.org/accounts/?page=4
previousstring · uri · nullableOptional

This field defines the URL of the previous page.

Example: http://api.example.org/accounts/?page=2
get
/loyalty/transfers/
200

Successful response for status code 200.

get
/loyalty/transfers/{id}/

This method returns details about a specific loyalty transfer, including its ID, currency, amount, and reference number. It also includes the associated loyalty account ID, transaction ID, and timestamps for creation and modification. This endpoint retrieves a specific record by its unique identifier.

Authorizations
AuthorizationstringRequired

Token-based authentication with required prefix "Token"

Path parameters
idintegerRequired

A unique integer value identifying this loyalty transfer.

Responses
chevron-right
200

Successful response for status code 200.

application/json
accountintegerOptional

Numerical value representing quantity or total amount.

amountstring · decimalOptional

The field defines the total amount of the loyalty transaction.

Pattern: ^-?\d{0,10}(?:\.\d{0,2})?$
created_datestring · date-timeOptional

Timestamp indicating when the record was created.

currencystring · enumOptional

The field defines the currency of the loyalty transaction.

Possible values:
idintegerOptional

Unique identifier for the record.

modified_datestring · date-timeOptional

This field defines the last updated date.

referencestring · max: 128 · nullableOptional

This field defines a reference for the basket item.

transactionintegerOptional

The field defines the transaction ID created for the loyalty transfer.

uuidstring · uuidOptional

Unique identifier for the record.

get
/loyalty/transfers/{id}/

Last updated

Was this helpful?