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_url}/products
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"
}
The Products resource offers the following REST interfaces: