SetGiftAsPurchased

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

When a visitor successfully makes a purchase of an item for a registrant, you want to mark that item as purchased so that duplicate purchases are not made. You can use the SetGiftAsPurchased end point to perform this action.

This APIs is designed for server-to-server communication only, attempting to call the APIs directly from JavaScript in a browser will fail.

Body Params
integer
required

MyRegistry Registry Id
Information provided by MyRegistry.com

string
required

Order Number

string

Purchaser First Name

string

Purchaser Last Name

string

Purchaser Email

string

The sale date (optional)
By default date of the day

string

The tracking Information token
Information provided by MyRegistry.com
This parameter is highly recommended for tracking purposes, and mandatory for Group Gifting flows

string

Identification of the store (optional)
For physical store purchase

string

The employee identifier (optional)
For physical store purchase

purchasedGifts
array of objects
required

List of purchased gifts (JSON object)

purchasedGifts*
string

Source of the Purchase (optional)
Online: (default) - Purchase placed through the merchant website
Retail: - Purchase placed in person at a physical store location

string

Culture Code used during the transaction (based on RFC4646 )
E.g.: “en-US” or “fr-CA”

number

Website Id to scope the request
Only used by partners with multiple websites or internal to MR

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json