POST api/Mirakl/Order/order/{order}/PostMessage
Post a new message on an order (OR42) Recommended : On each new message Maximum : On each new message. The customer will be updated (only fields : email, firstname and lastname)
Request Information
URI Parameters
| Name | Description | Type | Additional information | 
|---|---|---|---|
| order | The identifier of the order | string | Required | 
Body Parameters
Message| Name | Description | Type | Additional information | 
|---|---|---|---|
| body | string | None. | |
| subject | string | None. | 
Request Formats
application/json, text/json
            Sample:
        
{
  "body": "sample string 1",
  "subject": "sample string 2"
}
        text/plain, application/octet-stream
            Sample:
        
{"body":"sample string 1","subject":"sample string 2"}
        application/xml, text/xml
            Sample:
        <Message xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mirakl.Wrapper.Models"> <body>sample string 1</body> <subject>sample string 2</subject> </Message>
application/x-www-form-urlencoded
            Sample:
    
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information | 
|---|---|---|---|
| Version | Version | None. | |
| Content | HttpContent | None. | |
| StatusCode | HttpStatusCode | None. | |
| ReasonPhrase | string | None. | |
| Headers | Collection of Object | None. | |
| RequestMessage | HttpRequestMessage | None. | |
| IsSuccessStatusCode | boolean | None. |