saveObjective
POST/m2m-api/v3/saveobjective
Save Objective
Request
Header Parameters
Authorization string
Example: aaaaaaaaafdc2f654123bc1c1a39902
- application/json
Body
sessionId stringrequired
BEYABLE On-site session identifier
tenant string
account tenant
amount number
Objective amount
beyableCode string
BEYABLE promo code if any
isNewClient boolean
Is new client
lastClickCampaignId string
numberOfItems number
Number of items (eg. cart items)
payment string
Means of payment
paymentDate string
actual payment date
paymentStatus string
payment status
pseudoId string
Visitor identifier (eg. email address)
reference string
A reference for the objective (eg. transaction ID)
tags string[]
Responses
- 200
- 400
- 500
It is fine
Session key is missing or invalid
Internal error
Loading...