Filters

GET /orders?parameter-lookup=value HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com

Filters lookups are listed HERE (string, choices, range, isnull and date).

Exact total amount

GET /orders?total_amount=462000 HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com

Confirmed after

GET /orders?confirmed-gte=2015-12-22T15:09:30.537951Z HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com

Verified but not confirmed

GET /orders?verified-isnull=yes&confirmed-isnull=no HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com
Parameter Type Required Description
id hash string Your order ID in aplazame
mid string string Your order ID
total_amount decimal range Order amount
discount decimal isnull, range Order discount amount
discount_rate decimal isnull, range Discount rate on the price of the order
created ISO 8601 date, range Date designating when the order was created
verified ISO 8601 isnull, date, range Date designating when the order was verified
confirmed ISO 8601 isnull, date, range Date designating when the order was confirmed
cancelled ISO 8601 isnull, date, range Date designating when the order was cancelled

Downpayment

GET /orders?instalment_plan-downpayment-state=failed HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com
Parameter Type Required Description
instalment_plan-downpayment-state string choices Downpayment status
instalment_plan-downpayment-amount decimal isnull, range Downpayment amount

by phone

Customer phone number exact

GET /orders?customer-phone-number=612345678 HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com
Parameter Type Required Description
customer-id hash string Customer ID
customer-phone-number string string Customer mobile phone number
customer-phone-country ISO 3166-1 string Customer phone country
customer-created ISO 8601 date, range Date designating when the customer was created

by customer document ID

Document ID type; choices are nif or nie

GET /orders?customer-document_id-type=nif&customer-document_id-type=nie HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com
Parameter Type Required Description
customer-document_id-number string string Customer document ID number
customer-document_id-country ISO 3166-1 string Customer document ID country
customer-document_id-type string choices Customer document ID type; the choices are nif, nie, cif, passport, others

by account

Gender exact

GET /orders?account-type=existing&account-gender=0 HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com

Last login is not null

GET /orders?account-last_login-isnull=no HTTP/1.1
Accept: application/vnd.aplazame.v1+json
Authorization: Bearer api_private_key
Host: api.aplazame.com
Parameter Type Required Description
account-id hash string Customer ID
account-type string choices Customer type; the choices are g guest, n new, e existing.
account-gender integer choices Gender; the choices are 0 not known, 1 male, 2 female, 3 not applicable.
account-last_login ISO 8601 isnull, date, range Date of the customer's last login.
account-date_joined ISO 8601 isnull, date, range Date designating when the customer account was created.