Get Product Feed
Endpoint that returns the latest Treet product feed as a JSON file link. The product feed is scheduled to be updated every hour and will return a new link when the product feed is updated. A fresh feed should be available at approximately 15 minutes past the hour.
Additional Details
Rate Limits
This endpoint is rate-limited to 15 req/minute. Please note that it will not return different data unless the feed has been updated. It is advised to check for a new feed link once an hour, max.
Product Feed Data
The JSON file holds an array of Product Data objects, as typed below:
{
productID: string;
productURL: string;
productTitle: string;
productDescription: string;
size: string;
image: string;
price: number;
brand: string;
productStock: number;
productAvailable: boolean;
gender?: ('Women' | 'Men' | 'Kids' | 'Unisex' | 'All')[];
condition: string;
isBrandDirect?: string;
updatedAt?: string;
color?: string;
shopifyTags?: string[];
shopifyProductType?: string;
categories?: string[];
styles?: string[];
currency?: Currency;
shipFromCountry?: CountryCode;
shipToCountries?: CountryCode[];
};
Please note that Treet may add more attributes to the Product Data object at their discretion and without prior notice. Existing attributes will not be deprecated without proper warning & versioning.
Authorizations
Response
Contains a link to the full product feed from Treet as a JSON file. Please note this file expires after 24 hours.
Denotes the version of the API. Currently, only version 1 is available.