Modo Claro
List Shipping Rules
GET
/shipping/rulesLast modified: 23 days ago
This endpoint allows you to fetch a list of shipping rules.
Request
None
Request samples
Respostas
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
status
integer
opcional
Status Code of the Shipping Rule
Exemplo:
200
success
boolean
opcional
Success of the Shipping Rule
Padrão:
true
data
array [object {3}]
opcional
id
number
opcional
ID of the Shipping Rule
Exemplo:
2079537577
name
string
opcional
Name of the Shipping Rule
Exemplo:
CPSAVIP
status
string
opcional
Status of the Shipping Rule
Exemplo:
active
cursor
object
opcional
current
integer
opcional
Exemplo:
1
previous
integer | null
opcional
Previous Pages Number Value
next
integer | null
opcional
Next Pages Number Value
count
integer
opcional
Total Number Value of the Shipping Rules
Exemplo:
1
Exemplo
{
"status": 200,
"success": true,
"data": [
{
"id": 2079537577,
"name": "CPSAVIP",
"status": "active"
}
],
"cursor": {
"current": 1,
"previous": null,
"next": null,
"count": 1
}
}
Last modified: 23 days ago