GET orders/{order_id}/contact

GET orders/{order_id}/contact

Returns contact information to send the order

Request

URL parameters

NameDescriptionTypeAdditionnal InformationIntro version
order_id Order identifier bigint Required

Response

OrderContactResult
NameDescriptionTypeAdditionnal InformationIntro version
contact Order contact information OrderContact
returncode Return code: 0 for success integer
returnmsg Return message string
warnings Warnings (the instruction worked but you need to pay attention to warnings. May cause partial data loss (Truncation)) Collection of string
version API version string

Return format

application/json, text/json, application/x-www-form-urlencoded

Sample:
{
  "contact": {
    "preference": "sample string 1",
    "contactname": "sample string 2",
    "email": "sample string 3",
    "faxno": "sample string 4"
  },
  "returncode": 1,
  "returnmsg": "sample string 2",
  "warnings": [
    "sample string 1",
    "sample string 2"
  ],
  "version": "sample string 3"
}

application/xml, text/xml

Sample:
<result returncode="1" returnmsg="sample string 2" version="sample string 3">
  <warnings>sample string 1</warnings>
  <warnings>sample string 2</warnings>
  <contact preference="sample string 1" contactname="sample string 2" email="sample string 3" faxno="sample string 4" />
</result>

© 2024 - Acceo Solutions inc.