Menu
Get Gift Certificate 2
Retrieve gift certificate information for a specified merchant ID.
GET
/organizations/{organizationId}/gift-certificates/{merchantId}Use it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Gift Certificate 2 action (under Gift Certificates (Data API)).
- Fill in the fields below, then reference the result from later steps as
{{getGiftCertificate2.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getGiftCertificate2.response.data.<field>}}.
{
"amount": null,
"balance": {},
"creationDate": 1578516896.641,
"description": "A gift certificate for birthday.\n",
"enabled": true,
"lastModified": 1578516896.641,
"maskedGiftCertificateCode": "*******XQTY",
"merchantId": "Macy's1256489\n",
"message": "This gift certificate is to be given as birthday present\n",
"orderNo": "MyOrder5421\n",
"recipientEmail": "my-recipient-email@gmail.com\n",
"recipientName": "Jane Doe\n"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?