POST
/
customers
/
fulfill_expired_events
curl --request POST \
  --url https://app.masivo.ai/api/storefront/v1/customers/fulfill_expired_events \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "start_date": "2023-11-07T05:31:56Z",
  "end_date": "2023-11-07T05:31:56Z"
}'
{
  "message": "1 event(s) have been queued for fulfillment",
  "details": "Events will be processed in the background"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
start_date
string
required

The start date to filter expired events by their original issue date. Must be within 1 year of end_date

end_date
string
required

The end date to filter expired events by their original issue date. Must be within 1 year of start_date. Events will be processed in batches of 500

Response

200
application/json
Events enqueued successfully
message
string
Example:

"1 event(s) have been queued for fulfillment"

details
string
Example:

"Events will be processed in the background"