Flexigift Service API

Products Resource

Flexigift stores a list of products that are eligible to be purchased with a customer’s gift card. The Products service contains information about these items.

Base endpoint

{base_url}/products

Data structure

Name Type Mandatory? Constraints Notes
id int yes - Unique internal ID generated by the system.
product_id string yes - Unique ID provided by the manufacturer.
name string yes - -
price float yes - -
eligible_issuer string yes - The issuer whose gift cards can be used to pay for this product.

Example:

{
  "id": 1,
  "product_id": "hanes-underwear-001",
  "name": "Hanes Men's Underwear Pack",
  "price": 15.99,
  "eligible_issuer": "Hanes"
}

REST APIs

The Products resource offers the following REST interfaces: