Sitecore API catalog/OrderCloud//
- Retrieve a shipment
List shipments visible to this user
List shipment items visible to this user
Retrieve a shipment
Only available to Buyer Users.
Security
OAuth2(Required scopes: FullAccessShopper)
- Production sever for Ordercloudhttps://api.ordercloud.io/v1/me/shipments/{shipmentID}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
'https://api.ordercloud.io/v1/me/shipments/{shipmentID}' \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Only available to Buyer Users.
In order to properly trigger OrderShipped emails, this date must be NULL on initial create. Update with the date only when all of the Shipment items have been created. Once all of an order's items exist on a shipment that has a DateShipped populated the OrderShipped message sender will trigger and Order.Status will be updated to Complete.
Example:"2018-01-01T00:00:00-06:00"
ID of the organization that owns the shipment. Only the marketplace owner can override the OwnerID on create.
Example:""
Marketplace owner or supplier AddressID where the product will be shipped from.
Example:""
Example:
{ "ID": "", "DateCreated": "2018-01-01T00:00:00-06:00", "CompanyName": "", "FirstName": "", "LastName": "", "Street1": "", "Street2": "", "City": "", "State": "", "Zip": "", "Country": "", "Phone": "", "AddressName": "", "xp": {} }
Response
{ "ID": "", "BuyerID": "", "Shipper": "", "DateShipped": "2018-01-01T00:00:00-06:00", "DateDelivered": "2018-01-01T00:00:00-06:00", "TrackingNumber": "", "Cost": 0, "OwnerID": "", "xp": {}, "Account": "", "FromAddressID": "", "ToAddressID": "", "FromAddress": { "ID": "", "DateCreated": "2018-01-01T00:00:00-06:00", "CompanyName": "", "FirstName": "", "LastName": "", "Street1": "", "Street2": "", "City": "", "State": "", "Zip": "", "Country": "", "Phone": "", "AddressName": "", "xp": {} }, "ToAddress": { "ID": "", "DateCreated": "2018-01-01T00:00:00-06:00", "CompanyName": "", "FirstName": "", "LastName": "", "Street1": "", "Street2": "", "City": "", "State": "", "Zip": "", "Country": "", "Phone": "", "AddressName": "", "xp": {} } }