Request


Send GET request to https://www.risingsigma.com/api/checker.php

with the following parameters :


ParameterDescription
shopThe 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)


FieldValueDescription
flag0 or 1 0 means the check failed, failure message should be displayed.

1 means the check succeeds, the success message should be displayed.
app_status0 or 1This field shows if the app is enabled or not from the dashboard.
show_here0 or 1This field can be useful when the product parameter is passed.

On product-based checking, based on this appearance of widget is dependent.
msgStringThis is the message to be shown.

Returns failure message if the flag is 0 and returns success message if the flag is 1.