...
Attribute | Description | ||
---|---|---|---|
Endpoint | https://postpurchase.fenixcommerce.com/fenix/oms/crs/v1/rateshopping/get-shipping-info | ||
Method | POST | ||
Headers | tenant_id auth_token | ||
Request Sample |
| ||
Response |
|
Request Attribute Definitions
Attribute | Required | Description | ||
---|---|---|---|---|
request_id | true | A unique identifier of the request | ||
shipment_id | true | Shipment id of the shipment | ||
request.from | true | Address of the shipper | ||
from.fname | false | First name of the shipper | ||
from.lname | false | Last name of the shipper | ||
from.address_line1 | true | The line 1 of the shipper address | ||
from.address_line2 | false | The line 2 of the shipper address | ||
from.city | false | The city of the shipper | ||
from.state | false | The state of the shipper | ||
from.zipcode | true | The zip code of the shipper | ||
from.country | true | The country of the shipper (Use ISO code. Ex, US, CA, IN, etc) | ||
from.residential | false | Flag to denote if the shipper address is a residential | ||
from.po_box | false | Flag to denote if the shipper address is a po box | ||
to | true | Address of the buyer | ||
to.fname | false | First name of the buyer | ||
to.lname | false | Last name of the buyer | ||
to.address_line1 | true | The line 1 of the buyer address | ||
to.address_line2 | false | The line 2 of the buyer address | ||
to.city | false | The city of the buyer | ||
to.state | false | The state of the buyer | ||
to.zipcode | true | The zip code of the buyer | ||
to.country | true | The country of the buyer (Use ISO code. Ex, US, CA, IN, etc) | ||
to.residential | false | Flag to denote if the buyer address is a residential | ||
to.po_box | false | Flag to denote if the buyer address is a po box | ||
warehouse_id | false | The warehouse id if the details are configured it in Fenix | ||
shipment_info | true | Details of the shipment | ||
shipment_info.package_name | false Note: Must be specified when the dimensions are not specified | Specify the kind of package. You can specify CUSTOM for your own packaging dims or else specify the carrier’s own packaging info. Examples of carrier packaging info
| ||
shipment_info.dimensions | false Note: Must be specified when the package name is not specified | The dimension details of the shipment | ||
shipment_info.dimensions.length | true | The length of the shipping package | ||
shipment_info.dimensions.width | true | The width of the shipping package | ||
shipment_info.dimensions.height | true | The height of the shipping package | ||
shipment_info.dimensions.units | false | The units of the above dimensions. Valid Values: IN, CM Default: IN | ||
shipment_info.weight | false | The weight details of the shipment | ||
shipment_info.weight.value | true | The weight of the shipping package | ||
shipment_info.weight.units | false | The units of the above weight. Valid Values: LB, KG, OZ Default: LB | ||
shipment_info.product_infos | false | The SKUs and their quantities shipping as part of the shipment | ||
shipment_info.product_infos.sku | false | The SKU Id | ||
shipment_info.product_infos.quantity | false | The number of units of the above SKU | ||
shipment_info.product_infos.variant_id | false | The variant id of the above SKU (applies only to shopify platform) | ||
shipment_info.product_infos.product_id | false | The product id of the above SKU | ||
shipment_info.product_infos.weight | false | The weight details of the above SKU | ||
shipment_info.product_infos.weight.value | true | The weight of the above SKU | ||
shipment_info.product_infos.weight.units | false | The units of the above weight. Valid Values: LB, KG, OZ Default: LB | ||
shipment_info.product_infos.dimensions | false Note: Must be specified when the package name is not specified | The dimension details of the SKU | ||
shipment_info.product_infos.dimensions.length | true | The length of the SKU | ||
shipment_info.product_infos.dimensions.width | true | The width of the SKU | ||
shipment_info.product_infos.dimensions.height | true | The height of the SKU | ||
shipment_info.product_infos.dimensions.units | false | The units of the above dimensions. Valid Values: IN, CM Default: IN | ||
expected_delivery_date | false | Expected delivery date of the shipment
| ||
request.expected_shipping_date | false | Expected shipping date of the shipment
If the date is not specified, the current date and time will be taken as the shipping date | ||
request.deliver_within_days | false | Expected days to deliver the shipment |