Menu
Get Gift Certificate
Retrieve an existing gift certificate.
POST
/organizations/{organizationId}/gift-certificateUse it in a workflow
- Add a step and choose the Salesforce Commerce Cloud connector.
- Pick the Get Gift Certificate action (under Shopper Gift Certificates).
- Fill in the fields below, then reference the result from later steps as
{{getGiftCertificate.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"giftCertificateCode": "MYGIFTCERTIFICATECODE"
}
Response
Returns 200 with an object. Read it in later steps with {{getGiftCertificate.response.data.<field>}}.
{
"amount": 100,
"balance": 100,
"enabled": true,
"maskedGiftCertificateCode": "************FJWQ",
"merchantId": "00000001",
"recipientEmail": "p@gmail.com",
"recipientName": "sampleuser",
"senderName": "Salesforce Support",
"status": "issued",
"description": "string",
"message": "string"
}
Need more? See the Salesforce Commerce Cloud guide for connection setup and behaviour shared by every action.
Was this page helpful?