REST Order Contact Wish

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.

Get a contact wish

Gets the contact wish for an order. The ID of the order must be specified.

/rest/orders/{orderId}/contactWish

Parameters

Field Type Description
orderId Int The ID of the order

Success 200

Field Type Description
text String The text of the contact wish
{"text":"Ut perferendis placeat qui earum sint suscipit ipsum nesciunt soluta mollitia."}

Errors 4xx

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.

Is this article helpful?

 

Thank you for your Feedback

you can close this field now!