POST ShopifyShippingQuote
Request Information
URI Parameters
None.
Body Parameters
ShopifyShippingQuoteRequestName | Description | Type | Additional information |
---|---|---|---|
rate | Rate |
None. |
Request Formats
application/json, text/json
Sample:
{ "rate": { "origin": { "country": "sample string 1", "postal_code": "sample string 2", "province": "sample string 3", "city": "sample string 4", "name": "sample string 5", "address1": "sample string 6", "address2": "sample string 7", "address3": "sample string 8", "phone": "sample string 9", "fax": "sample string 10", "email": "sample string 11", "address_type": "sample string 12", "company_name": "sample string 13" }, "destination": { "country": "sample string 1", "postal_code": "sample string 2", "province": "sample string 3", "city": "sample string 4", "name": "sample string 5", "address1": "sample string 6", "address2": "sample string 7", "address3": "sample string 8", "phone": "sample string 9", "fax": "sample string 10", "email": "sample string 11", "address_type": "sample string 12", "company_name": "sample string 13" }, "items": [ { "name": "sample string 1", "sku": "sample string 2", "itemNum": "sample string 3", "vendorItemNum": "sample string 4", "quantity": 5, "grams": 6, "price": 7, "vendor": "sample string 8", "requires_shipping": true, "taxable": true, "fulfillment_service": "sample string 11", "properties": {}, "product_id": 13, "variant_id": 14 }, { "name": "sample string 1", "sku": "sample string 2", "itemNum": "sample string 3", "vendorItemNum": "sample string 4", "quantity": 5, "grams": 6, "price": 7, "vendor": "sample string 8", "requires_shipping": true, "taxable": true, "fulfillment_service": "sample string 11", "properties": {}, "product_id": 13, "variant_id": 14 } ], "currency": "sample string 1", "locale": "sample string 2" } }
text/html
Sample:
{"rate":{"origin":{"country":"sample string 1","postal_code":"sample string 2","province":"sample string 3","city":"sample string 4","name":"sample string 5","address1":"sample string 6","address2":"sample string 7","address3":"sample string 8","phone":"sample string 9","fax":"sample string 10","email":"sample string 11","address_type":"sample string 12","company_name":"sample string 13"},"destination":{"country":"sample string 1","postal_code":"sample string 2","province":"sample string 3","city":"sample string 4","name":"sample string 5","address1":"sample string 6","address2":"sample string 7","address3":"sample string 8","phone":"sample string 9","fax":"sample string 10","email":"sample string 11","address_type":"sample string 12","company_name":"sample string 13"},"items":[{"name":"sample string 1","sku":"sample string 2","itemNum":"sample string 3","vendorItemNum":"sample string 4","quantity":5,"grams":6,"price":7,"vendor":"sample string 8","requires_shipping":true,"taxable":true,"fulfillment_service":"sample string 11","properties":{},"product_id":13,"variant_id":14},{"name":"sample string 1","sku":"sample string 2","itemNum":"sample string 3","vendorItemNum":"sample string 4","quantity":5,"grams":6,"price":7,"vendor":"sample string 8","requires_shipping":true,"taxable":true,"fulfillment_service":"sample string 11","properties":{},"product_id":13,"variant_id":14}],"currency":"sample string 1","locale":"sample string 2"}}
application/xml, text/xml
Sample:
<ShopifyShippingQuoteRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopifyCommon.Type.Json"> <Rate> <Currency>sample string 1</Currency> <Destination> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <Address3>sample string 8</Address3> <AddressType>sample string 12</AddressType> <City>sample string 4</City> <CompanyName>sample string 13</CompanyName> <Country>sample string 1</Country> <Email>sample string 11</Email> <Fax>sample string 10</Fax> <Name>sample string 5</Name> <Phone>sample string 9</Phone> <PostalCode>sample string 2</PostalCode> <Province>sample string 3</Province> </Destination> <Items> <Item> <FulfillmentService>sample string 11</FulfillmentService> <Grams>6</Grams> <ItemNum>sample string 3</ItemNum> <Name>sample string 1</Name> <Price>7</Price> <ProductId>13</ProductId> <Properties /> <Quantity>5</Quantity> <RequiresShipping>true</RequiresShipping> <Sku>sample string 2</Sku> <Taxable>true</Taxable> <VariantId>14</VariantId> <Vendor>sample string 8</Vendor> <VendorItemNum>sample string 4</VendorItemNum> </Item> <Item> <FulfillmentService>sample string 11</FulfillmentService> <Grams>6</Grams> <ItemNum>sample string 3</ItemNum> <Name>sample string 1</Name> <Price>7</Price> <ProductId>13</ProductId> <Properties /> <Quantity>5</Quantity> <RequiresShipping>true</RequiresShipping> <Sku>sample string 2</Sku> <Taxable>true</Taxable> <VariantId>14</VariantId> <Vendor>sample string 8</Vendor> <VendorItemNum>sample string 4</VendorItemNum> </Item> </Items> <Locale>sample string 2</Locale> <Origin> <Address1>sample string 6</Address1> <Address2>sample string 7</Address2> <Address3>sample string 8</Address3> <AddressType>sample string 12</AddressType> <City>sample string 4</City> <CompanyName>sample string 13</CompanyName> <Country>sample string 1</Country> <Email>sample string 11</Email> <Fax>sample string 10</Fax> <Name>sample string 5</Name> <Phone>sample string 9</Phone> <PostalCode>sample string 2</PostalCode> <Province>sample string 3</Province> </Origin> </Rate> </ShopifyShippingQuoteRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |