Get Gift Certificate
Returns a single Gift Certificate.
Authentication
OAuth scopes
Authentication header
Further reading
For example requests and more information about authenticating BigCommerce APIs, see Authentication and Example Requests.
For more about BigCommerce OAuth scopes, see our Guide to API Accounts.
For a list of API status codes, see API Status Codes.
Path parameters
Headers
The MIME type of the response body.
Response
A unique string that a customer enters to redeem the gift certificate. Gift certificate codes are limited to 20 characters. The API accepts values up to 255 characters without returning an error, but it saves only the first 20 characters and discards the rest. The response returns the saved, truncated code.
If you don't set this field, BigCommerce generates a code automatically.
A currency code, following the ISO 4217 standard. The currency has to exist in the store first.
Gift Certificates can only be used if the transactional currency of the cart is the same as the one defined in the gift certificate. If this value is not provided, the gift certificate is created using the store's default transactional currency.
The ID of the gift certificate. This is a READ-ONLY field; do not set or modify its value in a POST or PUT request.
Text that will be sent to the recipient, such as “Congratulations.”
Date the gift certificate was purchased. If not assigned, this will be set to today’s date. Date displays in the Unix timestamp format.