Zid Docs
Merchant APIApp APIThemes
Merchant APIApp APIThemes
Help Center
Slack
  1. Loyalty Program
  • Start Here πŸš€
  • Overview to Zid Apps
  • Authorization
  • Responses
  • Webhooks
  • Rate Limiting
  • APIs
    • Orders
      • Update Order by ID
      • Get Order Credit Notes
      • Get Order by ID
      • List of Orders
    • Reverse Orders
      • Reverse Order Reasons
      • Create Reverse Orders
      • Create Reverse Orders Waybill
      • Add Reverse Order Reasons
    • Carts
      • Get Abandoned Cart Details
      • List Abandoned Carts
    • Products
      • Managing Products
        • Get a Product by ID
        • Retrieve a list of products
        • Create a new product
        • Update an existing product.
        • Bulk update of products using their IDs or SKUs
        • Delete a product.
        • Product Setting
      • Digital Vouchers
        • Product Vouchers
        • Order Voucher
        • Add Product Voucher
        • Import Vouchers
        • Export Vouchers
        • Update Product Voucher
        • Remove Product Voucher
      • Product Categories
        • Get Single Category Details
        • Get all categories
        • Create Store Category
        • Update a Store Category
        • Add a product to a certain category
        • Publish/Unpublish a Category
        • Detach Category from All Products
        • Remove Category from Product
      • Product Badge
        • Product Badge
      • Product Attributes
        • Get Product Attributes
        • Get Product Attributes
        • Retrieve a product attribute
        • Add a New Product Attribute
        • Add a New Product Attribute
        • Update a product attribute
        • Delete a product attribute
      • Product Attribute Presets
        • Get attribute presets
        • Create Attribute Preset
        • Update Attribute Preset
        • Delete an attribute preset
      • Product Customizations
        • Add Product Variants
        • Insert Custom Options to a Product
        • Insert Custom User-Input Fields to a Product
      • Product Manual Sorting
        • Set Custom Product Order
        • Reset the manual sorting of all products
      • Product Images
        • Get List of images of a product.
        • Add an image to a product
        • Update a product Image Order
        • Delete a product image
      • Product Notifications
        • Availability Notification Stats
        • Availability Notifications Settings
        • List Availability Notifications
        • Add Availability Notification
        • Save Availability Notifications Settings
        • Manually Send Availability Notification Email
        • Export Availability Notifications
      • Product Import
        • Email All Products to Store Owner
        • Import Products via CSV or xlsx File
      • Product Stock (Multi-Inventory)
        • Get Product Stock by ID
        • List Product Stocks
        • Add Product Stock
        • Update Single Product Stock
        • Bulk Update Product Stocks
      • Product Questions & Answers
        • Get Question
        • Get Answer
        • Get All Questions
        • List Question Answers
        • Create Question
        • Create Answer
        • Update Question
        • Update Answer
        • Delete Question
        • Delete Answer
      • Product Reviews
        • List Reviews
        • New Reviews Total
      • Digital Products
        • Create Downloadable Product
        • Generate an Upload URL
        • Upload File to S3
        • Create Product Downloadables
        • Get Product Downloadables
        • Delete Product Downloadables
        • Get Store Downloadables
        • Create Store Downloadables
        • Delete Store Downloadables
    • Inventories
      • Get Store Location by ID
      • List Store Locations
      • Add a New Location
      • Update a Location by ID
      • Update Products Stock by Location ID
    • Shipping
      • List Store Delivery Options
      • Add Shipping Option
    • Marketing
      • Gift Cards
        • Get Store Settings
        • Add gift card to the cart
        • Update Store Settings
        • Upload gift card designs
        • Remove gift card from the cart
      • Coupons
        • Create a New Coupon
        • List Coupons
        • Get Coupon Details
        • Update Coupon
        • Delete Coupon
      • Bundle Offers
        • Retrieve all Bundle Offers
      • Loyalty Program
        • Loyalty Program Points per Order
          GET
        • Store Loyalty Status
          GET
        • Info Page
          GET
        • Loyalty Program Activation
          POST
        • Loyalty Status
          GET
        • Set Points Expiration
          POST
        • Cashback Rule Method Update
          POST
        • Cashback Rule Method Update Status
          PUT
        • Add Points Redemption Method
          POST
        • Update Points Redemption Method
          POST
        • Delete Points Redemption Method
          POST
        • Toggle Redemption Method Status
          PUT
        • Show Loyalty Points Info for Specific Customer
          GET
        • Customer Profile
          GET
        • List Data
          GET
        • Customer Points History
          GET
        • Info Page - Managers
          GET
        • Update Info Page
          PUT
        • Adjust Customer Points
          POST
    • Customers
      • List of Customers
      • Get Customer by ID
    • Store Settings
      • πŸ“„ User Roles and Permissions
      • Get Manager's Profile
      • Get VAT Settings
      • List of Payment Method
    • Countries and Cities
      • Retrieve Store Operating Countries
      • Retrieve Cities by Country ID
      • Countries List
    • Webhook
      • List of Webhooks
      • Create a Webhook
      • Delete a Webhook by OriginalId
      • Delete a Webhook by Subscriber
  • Store Events
    • Order
    • Product
    • Abandoned Cart
    • Customer
    • Product Category
  1. Loyalty Program

Store Loyalty Status

GET
https://api.zid.sa/v1/customers/loyalty-program/1/loyalty-status
Loyalty Program
Retrieves information about the overall status (active/inactive) and program name of a store's loyalty program.
πŸ”‘Scopes
loyalty_program.read - Loyalty Program Read

Request

Query Params
STORE_ID
stringΒ 
optional
Unique identifier of the store.
Header Params
Accept
stringΒ 
optional
Specifies the Media Types acceptable for the client. In this case, it signals that the client expects a response in the JSON format.
Default:
application/json
Accept-Language
enum<string>Β 
optional
Preferred language for the response. Defaults to en if not specified.
Allowed values:
enar
Example:
en
Content-Type
stringΒ 
optional
Type of the content.
Default:
application/json

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/1/loyalty-status?STORE_ID' \
--header 'Accept;' \
--header 'Accept-Language;' \
--header 'Content-Type: text/plain' \
--data-raw ''

Responses

🟒200Store loyalty program status retrieved successfully.
application/json
Body
status
stringΒ 
optional
Indicates the overall status of the API response.
loyalty_status
booleanΒ 
optional
Indicates whether the customer is currently enrolled in the loyalty program. In this example, the value is true, meaning the customer is part of the loyalty program.
Default:
true
message
objectΒ 
optional
Contains additional information or messages related to the API response.
type
stringΒ 
optional
Specifies the type of message.
code
nullΒ 
optional
A code representing any specific message or error.
name
nullΒ 
optional
A short, human-readable title or name for the message.
description
nullΒ 
optional
A detailed description of the message.
Example
{
  "status": "string",
  "loyalty_status": true,
  "message": {
    "type": "string",
    "code": null,
    "name": null,
    "description": null
  }
}
Modified atΒ 2025-01-31 07:36:03
Previous
Loyalty Program Points per Order
Next
Info Page
Built with