Contains the functionality to get a contact wish. Each order can have one contact wish. A contact wish is a comment that contains additional information entered by a contact, usually the customer.
Gets the contact wish for an order. The ID of the order must be specified.
/rest/orders/{orderId}/contactWish
Field | Type | Description |
---|---|---|
orderId | Int |
The ID of the order |
Field | Type | Description |
---|---|---|
text | String |
The text of the contact wish |
Code | Exception | Description |
---|---|---|
401 | League\OAuth2\Server\Exception\AccessDeniedException |
The resource owner or authorization server denied the request. |
401 | League\OAuth2\Server\Exception\InvalidRequestException |
The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed. Check the "access token" parameter. |