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