Skip to content

Commit

Permalink
Merge pull request #17 from EdgeOrder/ChangesForOdataFilter
Browse files Browse the repository at this point in the history
changes to enable forward and reverse shipping details in get order i…
  • Loading branch information
nija-dev authored Aug 8, 2021
2 parents 7ef5d8d + 700829e commit 2c40871
Showing 1 changed file with 51 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
{
"name": "$expand",
"in": "query",
"description": "$expand is supported on configurations parameter for product, which provides details on the configurations for the product.",
"description": "$expand is supported on device details, forward shipping details and reverse shipping details parameters. Each of these can be provided as a comma separated list. Device Details for order item provides details on the devices of the product, Forward and Reverse Shipping details provide forward and reverse shipping details respectively.",
"required": false,
"type": "string"
},
Expand Down Expand Up @@ -1951,6 +1951,28 @@
}
}
},
"ForwardShippingDetails": {
"description": "Forward shipment details.",
"type": "object",
"properties": {
"carrierName": {
"description": "Name of the carrier.",
"type": "string"
},
"carrierDisplayName": {
"description": "Carrier Name for display purpose. Not to be used for any processing.",
"type": "string"
},
"trackingId": {
"description": "TrackingId of the package",
"type": "string"
},
"trackingUrl": {
"description": "TrackingUrl of the package.",
"type": "string"
}
}
},
"HierarchyInformation": {
"description": "Holds details about product hierarchy information",
"type": "object",
Expand Down Expand Up @@ -2298,12 +2320,12 @@
"description": "Customer notification Preferences"
},
"forwardShippingDetails": {
"$ref": "#/definitions/ShippingDetails",
"$ref": "#/definitions/ForwardShippingDetails",
"description": "Forward Package Shipping details",
"readOnly": true
},
"reverseShippingDetails": {
"$ref": "#/definitions/ShippingDetails",
"$ref": "#/definitions/ReverseShippingDetails",
"description": "Reverse Package Shipping details",
"readOnly": true
},
Expand Down Expand Up @@ -2981,6 +3003,32 @@
}
}
},
"ReverseShippingDetails": {
"description": "Reverse shipment details.",
"type": "object",
"properties": {
"sasKeyForLabel": {
"description": "SAS key to download the reverse shipment label of the package.",
"type": "string"
},
"carrierName": {
"description": "Name of the carrier.",
"type": "string"
},
"carrierDisplayName": {
"description": "Carrier Name for display purpose. Not to be used for any processing.",
"type": "string"
},
"trackingId": {
"description": "TrackingId of the package",
"type": "string"
},
"trackingUrl": {
"description": "TrackingUrl of the package.",
"type": "string"
}
}
},
"ShippingAddress": {
"description": "Shipping address where customer wishes to receive the device.",
"required": [
Expand Down

0 comments on commit 2c40871

Please sign in to comment.