Sets the purchase as an option type
Parameter | Mandatory | Description | Examples | More Info |
---|---|---|---|---|
API | Yes | The API area | purchases.json | |
General | Yes | Parameters described in overview | see overview | Structure of an API call |
Action | Yes | The action to perform | action=option_on | |
Identifier | Yes | Purchase ID or UUID | purchase=10008229 |
Example request:
http://<SERVER>/jsonapi/purchases.json?user=user&password=user&version=3.9&action=option_on&purchase=10007388
Example response:
{
"responsecode": 1,
"responsestatus": "OK",
"errorcode": 0,
"errormessage": "",
"responsemessage": "Purchase order option changed. ",
"warningmessage": "",
"success": true,
"data": [
{
"poInternal": 10007388,
"poUuid": "7A54C829DD0D174CA43A43B948386413",
"poTimeStampModified": 1605091973,
"poRecordVersionNumber": 43,
"poPONumber": "{EST}",
"poOption": "option"
}
]
}