文档
测试

/dbo/v1/shipment/{shipment_oid}

GET
/dbo/v1/shipment/{shipment_oid}

接口描述

获取发货计划

请求参数

参数名
类型
描述
必填
shipment_oid
string
必填

响应说明 / 示例

{ "oid": "string", "created_datetime": "2020-04-10T02:34:47.987Z", "updated_datetime": "2020-04-10T02:34:47.987Z", "account_oid": "string", "state": "error", "ref_id": "string", "order_info": { "sales_channel": "string", "order_id": "string" }, "to_address": { "street1": "string", "street2": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "carrier_facility": "string", "name": "string", "company": "string", "phone": "string", "email": "string", "residential": true, "federal_tax_id": "string", "state_tax_id": "string", "oid": "string", "created_datetime": "2020-04-10T02:34:47.987Z", "updated_datetime": "2020-04-10T02:34:47.987Z" }, "from_address": { "street1": "string", "street2": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "carrier_facility": "string", "name": "string", "company": "string", "phone": "string", "email": "string", "residential": true, "federal_tax_id": "string", "state_tax_id": "string", "oid": "string", "created_datetime": "2020-04-10T02:34:47.988Z", "updated_datetime": "2020-04-10T02:34:47.988Z" }, "return_address": { "street1": "string", "street2": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "carrier_facility": "string", "name": "string", "company": "string", "phone": "string", "email": "string", "residential": true, "federal_tax_id": "string", "state_tax_id": "string", "oid": "string", "created_datetime": "2020-04-10T02:34:47.988Z", "updated_datetime": "2020-04-10T02:34:47.988Z" }, "buyer_address": { "street1": "string", "street2": "string", "city": "string", "state": "string", "postal_code": "string", "country": "string", "carrier_facility": "string", "name": "string", "company": "string", "phone": "string", "email": "string", "residential": true, "federal_tax_id": "string", "state_tax_id": "string", "oid": "string", "created_datetime": "2020-04-10T02:34:47.988Z", "updated_datetime": "2020-04-10T02:34:47.988Z" }, "parcel": { "dimension": { "length": 0, "width": 0, "height": 0, "unit": "mm" }, "weight": { "value": 0, "unit": "g" }, "irregular": true, "oid": "string", "created_datetime": "2020-04-10T02:34:47.988Z", "updated_datetime": "2020-04-10T02:34:47.988Z" }, "customs": { "contents_type": "documents", "contents_explanation": { "content": "string", "language": "en" }, "customs_certify": true, "customs_signer": "string", "return_non_delivery": "return", "restriction_type": "none", "restriction_comment": "string", "oid": "string", "created_datetime": "2020-04-10T02:34:47.988Z", "updated_datetime": "2020-04-10T02:34:47.988Z" }, "items": [ { "quantity": 0, "product": { "description": { "content": "string", "language": "en" }, "value": { "amount": 0, "currency": "USD" }, "product_id": "string", "weight": { "value": 0, "unit": "g" }, "dimension": { "length": 0, "width": 0, "height": 0, "unit": "mm" }, "hs_tariff_code": "string", "origin_country": "CN", "oid": "string", "created_datetime": "2020-04-10T02:34:47.988Z", "updated_datetime": "2020-04-10T02:34:47.988Z" } } ], "rates": [ { "carrier": "Opene", "service": "Opene Parcel ExpeditedChinaUS", "carrier_account_id": "string", "is_selected": true, "is_purchased": true, "rate": { "amount": 0, "currency": "USD" }, "error": "string" } ], "purchased_rate": { "carrier": "Opene", "service": "Opene Parcel ExpeditedChinaUS", "carrier_account_id": "string", "is_selected": true, "is_purchased": true, "rate": { "amount": 0, "currency": "USD" }, "error": "string" }, "tracker": { "carrier": "string", "tracking_code": "string" }, "postage_label": { "pdf_url": "string" }, "fees": [ { "fee_type": "L", "amount": { "amount": 0, "currency": "USD" }, "held": true, "released": true, "charged": true, "refunded": true } ], "reason": "string", "payload": "string" }