The “List Shipping Rate” API allows to retrieve a list of shipping rate.
Autorización
Bearer token generado desde el portal Leadway. Ver Autenticación.
string
default:"2021-07-28"
required
Versión de la API.
Path parameters
string
default:"6578278e879ad2646715ba9c"
required
ID of the item that needs to be returned
Query parameters
string
default:"6578278e879ad2646715ba9c"
required
Account Id or Agency Id
The maximum number of items to be included in a single page of results
The starting index of the page, indicating the position from which the results should be retrieved.
Respuestas
200 - Successful response
number
default:"20"
required
Total number of items
An array of items
string
default:"6578278e879ad2646715ba9c"
required
Account Id or Agency Id
Posibles valores: ‘account’
string
default:"North zone"
required
Name of the shipping zone
string
default:"Ships next day"
Delivery description
string
default:"USD"
required
The currency of the amount of the rate / handling fee
number
default:"99.99"
required
The amount of the shipping rate if it is normal rate (0 means free ). Fixed Handling fee if it is a carrier rate (it will add to the carrier rate).
string
default:"price"
required
Type of condition to provide the conditional pricing Posibles valores: ‘none’, ‘price’, ‘weight’
number
default:"99.99"
required
Minimum condition for applying this price. set 0 or null if there is no minimum
number
default:"99.99"
required
Maximum condition for applying this price. set 0 or null if there is no maximum
string
default:"655b33a82209e60b6adb87a5"
required
Shipping carrier id
Percentage of rate fee if it is a carrier rate.
An array of items
string
default:"Priority Mail Express International"
required
Name of the shipping carrier service
string
default:"PriorityMailExpressInternational"
required
Value of the shipping carrier service
string
default:"655b33a82209e60b6adb87a5"
required
The unique identifier for the product.
string
default:"655b33a82209e60b6adb87a5"
required
The unique identifier for the shipping zone.
string
default:"2023-12-12T09:27:42.355Z"
required
created at
string
default:"2023-12-12T09:27:42.355Z"
required
updated at
422 - Unprocessable Entity
Ejemplo