POST orders/{order_id}/send

POST orders/{order_id}/send

Send the sales order to the specified contact

Request

URL parameters

NameDescriptionTypeAdditionnal InformationIntro version
order_id Order identifier bigint Required

Body parameters

OrderSendData
NameDescriptionTypeAdditionnal InformationIntro version
contactname Recipient name string Obligatoire Longueur entre 0 et 100
email Email address string Longueur entre 0 et 100
faxno Fax number string Longueur entre 0 et 100
subject Email subject. Will replace the one generated by the ERP string Longueur entre 0 et 100
supplbody Note to be added to the email body string Longueur entre 0 et 100
supplbodytitle Note title added to the body string Longueur entre 0 et 100

Request formats

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

Sample:
{
  "contactname": "sample string 1",
  "email": "sample string 2",
  "faxno": "sample string 3",
  "subject": "sample string 4",
  "supplbody": "sample string 5",
  "supplbodytitle": "sample string 6"
}

application/xml, text/xml

Sample:
<post>
  <contactname>sample string 1</contactname>
  <email>sample string 2</email>
  <faxno>sample string 3</faxno>
  <subject>sample string 4</subject>
  <supplbody>sample string 5</supplbody>
  <supplbodytitle>sample string 6</supplbodytitle>
</post>

Response

BaseResult
NameDescriptionTypeAdditionnal InformationIntro version
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:
{
  "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>
</result>

© 2025 - Acceo Solutions inc.