Light Mode
List Shipping Rules
GET
/shipping/rulesLast modified:Â 16 days ago
This endpoint allows you to fetch a list of shipping rules.
Request
None
Request samples
Responses
Success(200)
HTTP Code:Â 200
Content Type :Â JSONapplication/json
Data Schema
status
integerÂ
optional
Status Code of the Shipping Rule
Example:
200
success
booleanÂ
optional
Success of the Shipping Rule
Default:
true
data
array [object {3}]Â
optional
id
numberÂ
optional
ID of the Shipping Rule
Example:
2079537577
name
stringÂ
optional
Name of the Shipping Rule
Example:
CPSAVIP
status
stringÂ
optional
Status of the Shipping Rule
Example:
active
cursor
objectÂ
optional
current
integerÂ
optional
Example:
1
previous
integer  | nullÂ
optional
Previous Pages Number Value
next
integer  | nullÂ
optional
Next Pages Number Value
count
integerÂ
optional
Total Number Value of the Shipping Rules
Example:
1
Example
{
"status": 200,
"success": true,
"data": [
{
"id": 2079537577,
"name": "CPSAVIP",
"status": "active"
}
],
"cursor": {
"current": 1,
"previous": null,
"next": null,
"count": 1
}
}
Last modified: 16 days ago