- Start Here 🚀
- Overview to Zid Apps
- Authorization
- Responses
- Webhooks
- Rate Limiting
- APIs
- Orders
- Reverse Orders
- Carts
- Products
- Inventories
- Shipping
- Marketing
- Gift Cards
- Coupons
- Bundle Offers
- Loyalty Program
- Loyalty Program Points per OrderGET
- Store Loyalty StatusGET
- Info PageGET
- Loyalty Program ActivationPOST
- Loyalty StatusGET
- Set Points ExpirationPOST
- Cashback Rule Method UpdatePOST
- Cashback Rule Method Update StatusPUT
- Add Points Redemption MethodPOST
- Update Points Redemption MethodPOST
- Delete Points Redemption MethodPOST
- Toggle Redemption Method StatusPUT
- Show Loyalty Points Info for Specific CustomerGET
- Customer ProfileGET
- List DataGET
- Customer Points HistoryGET
- Info Page - ManagersGET
- Update Info PagePUT
- Adjust Customer PointsPOST
- Gift Cards
- Customers
- Store Settings
- Countries and Cities
- Webhook
- Orders
- Store Events
Loyalty Program Points per Order
GET
https://api.zid.sa/v1/customers/loyalty-program/<<STORE_ID>>/get-points-per-order-total/1000
Loyalty Program
🔑Scopes
loyalty_program.read
- Loyalty Program ReadRequest
Query Params
STORE_ID
stringÂ
optional
AMOUNT
stringÂ
optional
Header Params
Accept
stringÂ
optional
Default:
application/json
Accept-Language
enum<string>Â
optional
en
if not specified.Allowed values:
enar
Example:
en
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://api.zid.sa/v1/customers/loyalty-program/<<STORE_ID>>/get-points-per-order-total/1000?STORE_ID&AMOUNT' \
--header 'Accept;' \
--header 'Accept-Language;' \
--header 'Content-Type: text/plain' \
--data-raw ''
Responses
🟢200Points are awarded for the order amount calculated successfully.
application/json
Body
status
stringÂ
optional
points
integerÂ
optional
Example:
"100"
message
objectÂ
optional
type
stringÂ
optional
code
nullÂ
optional
name
nullÂ
optional
description
nullÂ
optional
Example
{
"status": "string",
"points": "\"100\"",
"message": {
"type": "string",
"code": null,
"name": null,
"description": null
}
}
Modified at 2025-01-31 07:35:37