Skip to main content
POST
/
v3
/
shipping-costs
Search shipping costs
curl --request POST \
  --url https://api.myscalev.com/v3/shipping-costs \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "courier_codes": [
    "jne"
  ],
  "location_id": 123,
  "warehouse_id": 123,
  "weight": 123,
  "postal_code": "<string>"
}
'
{
  "data": [
    {
      "cost": 123,
      "cost_source": "<string>",
      "courier_service": {
        "code": "<string>",
        "courier": {
          "code": "<string>",
          "courier_type": "standard",
          "id": 123,
          "name": "<string>"
        },
        "id": 123,
        "name": "<string>"
      },
      "etd": "<string>",
      "weight": 123
    }
  ],
  "is_paginated": false
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Estimate shipping cost request

Schema for requesting shipping cost

courier_codes
enum<string>[]
required

List of courier codes

Schema for a courier code

Available options:
ninja,
ide,
sicepat,
sap,
ncs,
anteraja,
sentral,
jne,
jnt,
pos,
lion,
rex,
jtl,
tiki,
rpx,
pandu,
wahana,
pahala,
jet,
slis,
dse,
first,
star,
idl
location_id
integer
required

ID of the destination location

warehouse_id
integer
required

ID of the warehouse

weight
integer
required

Weight of the shipment in grams

postal_code
string

Postal code of the destination

Response

Products list

Non-paginated list payload for v3.

data
ShippingCostResult · object[]
required
is_paginated
enum<boolean>
required
Available options:
false
Example:

false