PUT orders/rollback/{trans_id}

PUT orders/rollback/{trans_id}

Rollback of an order created in preview mode

Request

URL parameters

NameDescriptionTypeAdditionnal InformationIntro version
trans_id Transaction identifier to be cancelled bigint Required

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.