Docs

Docs / Data Feed / Products

For Data Feed stores
Endpoint · List products

GET/products

Your products at your prices: everything you sell, a page at a time, or exactly the ones you name by id or UPC.

Needs Products and changes: ReadBase URL https://backend.fflmonkey.com/api/v1Counts 1 toward 120 a minute

Query parameters

All optional. Needs Products and changes: Read. Send at most one of cursor, ids and upc.

ParameterTypeMeaning
cursorintegerThe meta.next_cursor of the page before. Leave it out for the first page. Not a changes cursor.
limitintegerProducts per page, 1 to 500. Default 100.
idsstringOnly these product ids, comma-separated, up to 100.
upcstringOnly these UPCs, comma-separated, up to 100.
  • Everything you sell, a page at a time. Without ids or upc you get what you sell now, ordered by product_id. Call again with cursor set to meta.next_cursor until meta.has_more is false.
  • Particular products. With ids or upc you get exactly those, including ones you no longer sell, with is_visible false: that is how you learn to take one off sale. One the store has no price for is left out.
  • Two of cursor, ids and upc together are refused with 422, and so is an id or a UPC that is not one.

What it answers

data is a list of products, each in the product shape, and meta says where the walk is:

FieldMeaning
next_cursorSend it as cursor for the next page. Null on the last page, and on a lookup by ids or upc.
has_moretrue while there is another page.
totalHow many products you sell. Approximate: the number can move during a long walk.
changes_cursorWhere to read GET /changes from after a walk. Keep the one from the walk's first page, so every change made during the walk is read again; applying one twice is harmless.

Returns

  • 200A page of products in data, and meta.
  • 409sync_paused: the store has switched catalog sync off. Not an empty catalog: keep what you have and retry later.
  • 422validation_failed: a query parameter broke a rule.

This endpoint can also answer 401 invalid_api_key, 403 license_not_active, 403 product_not_included, 403 insufficient_scope and 429 rate_limited.

Example

FFL Monkey Data Feed API, version 1. Questions: Support in your FFL Monkey account, or [email protected].