PUT v1/Orders/{siteId}/{orderId}/Favorite
Creates a favorite order from order history
URI template
v1/Orders/{siteId}/{orderId}/FavoriteRequest Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
siteId |
The site where the customer placed the order |
integer |
Required |
orderId |
The order id generated after the POST call |
integer |
Required |
Body Parameters
Name of the favorite order
stringRequest Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>
Response Information
Resource Description
HTTP status 200 with the value true. Invalid request returns HTTP BadRequest status 400.
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>