API Reference

List Product Catalog API

Use this API to list the available products that can be used to place orders

Overview

The Product Catalog API allows retrieval of a list of products that can be used for placing orders with the Flow1st API. This API uses GET to retrieve the product information and returns a JSON response containing details about each product.

Integrating this will enable Flow1st Products to be shown on the Flow1st Partner’s frontend screens.

Pre Requisites

API Description

Headers

HeaderDescription/Value
AccessTokenThis is the Access Token field returned from the Authentication - Generate Access Token response. This should be in the format Bearer <AccessToken>
Content-Typeapplication/vnd.carry1st.products.distributorproduct+json

URL Format

To retrieve a list of available payment methods, make a GET request to the following endpoint:

  • GET /api/distributors/products

Response

The API will respond with a JSON object containing an array of products

{
   "products": [
       {
           "id": 10,
           "productId": 143,
           "distributorId": 8,
           "name": "Call of Duty: Mobile",
           "imageLocation": "https://d13ms5efar3wc5.cloudfront.net/eyJidWNrZXQiOiJkZXYtaW1hZ2VzLWNhcnJ5MXN0LXByb2R1Y3RzIiwia2V5IjoiZjExNDc2NjktN2E5Yi00YjU0LWEyMTktMmNhM2IzYjJiNjdhLmpwZy53ZWJwIiwiZWRpdHMiOnsicmVzaXplIjp7IndpZHRoIjo5Nn19LCJ3ZWJwIjp7fX0=",
           "bundles": [
               {
                   "id": 59,
                   "productId": 143,
                   "productBundleId": 10336,
                   "distributorId": 8,
                   "name": "30 CP",
                   "sku": "codm30cp",
                   "price": 30,
                   "currencyCode": "USD",
                   "fields": [],
                   "createdDate": "2025-09-17 19:42:42",
                   "lastModifiedDate": "2025-09-17 19:42:42"
               },
           ],
           "createdDate": "2025-09-17 19:42:41",
           "lastModifiedDate": "2025-09-17 19:42:41"
       }
   ]
}

The response contains a Product Array, which contains an array of Product Bundles

Product Fields

NameTypeDescription
idIntegerThe identifier of the Flow1st product
productIdIntegerThe identifier of the productId
distributorIdIntegerThe identifier of the Flow1st Partner
nameStringThe name of the product
imageLocationStringThe HTTP location of the product image
createdDateStringThe timestamp when the product was created
lastModifiedDateStringThe timestamp when the product was updated
bundlesArrayAn array of bundles

Product Bundle Fields

NameTypeDescription
idIntegerThe product bundle identifier
productIdIntegerThe identifier of the product
productBundleIdIntegerThe identifier of the product bundle
distributorIdIntegerThe identifier of the Flow1st partner
nameStringThe name of the product bundle
skuStringThe string identifier of the product to use for Completing Orders
priceNumberThe price that will be deducted from the Distributor’s account balance
currencyCodeStringThe currency code for the price
fieldsArrayIf a product bundle requires extra fields to be sent in user validation, they will be specified here.
createdDateStringThe timestamp when the product was created
lastModifiedDateStringThe timestamp when the product was updated

HTTP Response Codes

The List Payment Method API may return the following HTTP Response Codes:

HTTP Status CodeNameDescription
200SuccessThis indicates that the request has been successful
401UnauthorizedThe Access Token might be missing or invalid (see Authentication - Generate Access Token)
403ForbiddenThe credentials provided might not have access to the resources required

Error Handling

See Handling Error Codes for more details on handling error responses.