POST api/Mirakl/Order/order/{order}/PostContact
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 | string |
None. |
Body Parameters
ContactBLName | Description | Type | Additional information |
---|---|---|---|
txtNome | string |
None. |
|
txtCognome | string |
None. |
|
txtEmail | string |
None. |
|
contactReason | string |
None. |
|
detail | string |
None. |
|
numOrdine | string |
None. |
|
chkPrivacy | boolean |
None. |
|
canale | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "txtNome": "sample string 1", "txtCognome": "sample string 2", "txtEmail": "sample string 3", "contactReason": "sample string 4", "detail": "sample string 5", "numOrdine": "sample string 6", "chkPrivacy": true, "canale": "sample string 8" }
text/plain, application/octet-stream
Sample:
{"txtNome":"sample string 1","txtCognome":"sample string 2","txtEmail":"sample string 3","contactReason":"sample string 4","detail":"sample string 5","numOrdine":"sample string 6","chkPrivacy":true,"canale":"sample string 8"}
application/xml, text/xml
Sample:
<ContactBL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Customer.BL.Models"> <canale>sample string 8</canale> <chkPrivacy>true</chkPrivacy> <contactReason>sample string 4</contactReason> <detail>sample string 5</detail> <numOrdine>sample string 6</numOrdine> <txtCognome>sample string 2</txtCognome> <txtEmail>sample string 3</txtEmail> <txtNome>sample string 1</txtNome> </ContactBL>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |