[lightMode]
List Shipping Rules
GET
/shipping/rules[updatedIn] 2 months ago
This endpoint allows you to fetch a list of shipping rules.
Request
Request samples
[api.label.responses]
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
[response.label.jsonSchema]
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
[api.label.example]
{
"status": 200,
"success": true,
"data": [
{
"id": 2079537577,
"name": "CPSAVIP",
"status": "active"
}
],
"cursor": {
"current": 1,
"previous": null,
"next": null,
"count": 1
}
}
[updatedIn] 2 months ago