Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.01 KB

accumulate-loyalty-points-request.md

File metadata and controls

29 lines (20 loc) · 1.01 KB

Accumulate Loyalty Points Request

Represents an AccumulateLoyaltyPoints request.

Structure

AccumulateLoyaltyPointsRequest

Fields

Name Type Tags Description
accumulatePoints LoyaltyEventAccumulatePoints Required Provides metadata when the event type is ACCUMULATE_POINTS.
idempotencyKey string Required A unique string that identifies the AccumulateLoyaltyPoints request.
Keys can be any valid string but must be unique for every request.
Constraints: Minimum Length: 1, Maximum Length: 128
locationId string Required The location where the purchase was made.

Example (as JSON)

{
  "accumulate_points": {
    "order_id": "RFZfrdtm3mhO1oGzf5Cx7fEMsmGZY"
  },
  "idempotency_key": "58b90739-c3e8-4b11-85f7-e636d48d72cb",
  "location_id": "P034NEENMD09F"
}