Gets a shipping option.
Name | Description | Additional information |
---|---|---|
shippingOptionId | No documentation available. |
Define this parameter in the request URI. |
Name | Description | Usage |
---|---|---|
shippingType | This will retrieve the related shipping type. | GET shippingoptions/{shippingOptionId}?expand=shippingtype |
If this endpoint supports expands, they will be included in the sample response body below. However, please note that expands are NOT included in the response body by default. Expands are only included in the response body if they came through as part of the request.
{
"ShippingOption": {
"CountryCode": "US",
"Description": "Custom Flat Rate",
"CustomErrorMessage": null,
"DisplayOrder": 1,
"ExternalId": null,
"HandlingCharge": 2.50,
"ActiveInd": true,
"ProfileId": 7,
"ShippingCode": "FLAT",
"ShippingId": 9,
"PortalId": 0,
"ShippingType": {
"ClassName": "ZnodeShippingFedEx",
"Description": "Calculates shipping rates when using FedEx.",
"IsActive": true,
"Name": "FedEx",
"ShippingTypeId": 1
},
"ShippingTypeId": 1,
"ShippingRule": null,
"ShippingServiceCodeId": 0,
"ShippingServiceCode": null,
"ShippingtypeName": null,
"ProfileName": null,
"ClassName": null,
"UserType": null,
"IsFreeShipping": false
},
"IsShippingOptionCopied": false,
"ErrorCode": null,
"ErrorMessage": null,
"StackTrace": null,
"AllowHtmlResponse": false,
"HasError": false,
"StringResponse": null
}