PUT /purchase-notifications/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
destination string | null
Destination
-
format string | null
Format
Values are
json
,xml
,csv
, oremail
. -
id integer(int32)
Id
-
Purchase
-
raw string | null
Raw
-
Status
Values are
pending
,success
,error
, oropened
. Default value issuccess
. -
statusMessage string | null
Status message
statusProblem object | null | array | boolean | integer | number | string
-
updatedAt string(date-time)
Updated at
-
userId integer(int32) | null
User
PUT
/purchase-notifications/{id}.json
curl \
-X PUT http://api.example.com/v1/purchase-notifications/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"createdAt":"2024-05-04T09:42:00+00:00","destination":"string","events":{},"format":"json","id":42,"payload":{},"purchaseId":42,"raw":"string","response":{},"status":"success","statusMessage":"string","statusProblem":{},"updatedAt":"2024-05-04T09:42:00+00:00","userId":42}'
Request example
{
"createdAt": "2024-05-04T09:42:00+00:00",
"destination": "string",
"events": {},
"format": "json",
"id": 42,
"payload": {},
"purchaseId": 42,
"raw": "string",
"response": {},
"status": "success",
"statusMessage": "string",
"statusProblem": {},
"updatedAt": "2024-05-04T09:42:00+00:00",
"userId": 42
}