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