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 Required Length between 0 and 100
email Email address string Length between 0 and 100
faxno Fax number string Length between 0 and 100
subject Email subject. Will replace the one generated by the ERP string Length between 0 and 100
supplbody Note to be added to the email body string Length between 0 and 100
supplbodytitle Note title added to the body string Length between 0 and 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>

© 2024 - Acceo Solutions inc.