Skip to main content
POST
Get a pricing quote

授权

Authorization
string
header
必填

API access token generated from the UniUni Platform dashboard.

请求体

application/json
address
object
必填
weight
object
必填
postageType
enum<string>
必填

Requested postage service. STANDARD is for domestic. USPS Ground Advantage is for CA to US cross-border (DDP, merchant pays duties). PostNL International Packet Tracked is for CA to US cross-border (DDU, recipient pays duties). If the requested type is unavailable, an available type is selected automatically.

可用选项:
STANDARD,
USPS Ground Advantage,
PostNL International Packet Tracked
dimensions
object

Package dimensions. Provide either dimensions or packagingId, not both. If neither is provided, a saved default packaging preset will be used. If there are no saved packaging presets, dimensions are required.

packagingId
number

ID of a pre-configured packaging profile. Use instead of dimensions if the package matches a saved profile.

响应

200 - application/json

Estimated rates retrieved successfully

message
string
必填
code
integer
必填

Status code. 0 indicates success.

data
object