Brands guide
What this resource is for
Brands are the retailers and companies your customers can shop with or buy gift cards from. A brand may support affiliates, gift cards, promotions or several of these.
When to use it
- Build a brand directory or search page.
- Show brand logos, descriptions and terms.
- Look up one brand by its
brand-id.
Important implementation notes
- Availability varies by country, account configuration and product type.
- Do not hard-code brand information. Fetch it and refresh regularly.
- The response shape depends on your publisher type. Gift Card publishers see gift card fields, and Affiliate publishers see commission and tracking fields.
- Results are paginated at 50 per page. Follow the next link.
- A
brand-idis not apromotion-id.
Bash
curl "https://staging-api.spendstream.io/v2/getBrands?page=1" \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "User-Agent: YourApp/1.0"
Common mistakes
- Sending a
brand-idaspromo_idwhen buying a gift card. This returns a 400 error. Use thepromotion-idfromgetPromotionsList. - Caching the catalogue indefinitely.
- Assuming every brand supports both products.
Related resources
- Promotions
- Categories
- Cashback
- Gift Cards
Endpoint reference
The v2 endpoint for this resource is getBrands. Exact parameters, schemas and responses are in the API reference.
Was this section helpful?
On this page
- Brands guide