Request
Send GET request to https://www.risingsigma.com/api/checker.php
with the following parameters :
Parameter | Description |
shop | The Shopify shop URL without “.myshopify.com” |
zipcode | The ZIPCode on which the serviceability check will be done. |
product | (optional) Product handle (not product id). If a product-based check is required then this parameter should be sent. |
The response we get: (JSON Format)
Field | Value | Description |
flag | 0 or 1 | 0 means the check failed, failure message should be displayed. 1 means the check succeeds, the success message should be displayed. |
app_status | 0 or 1 | This field shows if the app is enabled or not from the dashboard. |
show_here | 0 or 1 | This field can be useful when the product parameter is passed. On product-based checking, based on this appearance of widget is dependent. |
msg | String | This is the message to be shown. Returns failure message if the flag is 0 and returns success message if the flag is 1. |