Products

There is a v0 Products endpoint that enables GET, POST, and PUT of Products and Variants. This endpoint is currently in use externally in a number of Australian integration solutions. See technical documentation here

  • GET using https://INSTANCE_URL/api/v0/products/bulk_products

You can add query parameters:

  • q[updated_at_gt]=

    • giving the products which have been updated after the date range

      • Use the date format: "YYYY-MM-DD"

      • Or the datetime format: "YYYY-MM-DD+HH:MM"

https://INSTANCE_URL/api/v0/products/bulk_products?q[updated_at_gt]=2023-14-03
  • q[supplier_id_in]=

    • giving the products for a specific supplier of the shop

 https://INSTANCE_URL/api/v0/products/bulk_products?q[supplier_id_in]=592

Use this v0 endpoint with caution as it will not be supported by the Open Food Network community. The v1 Products endpoint be released in early 2023. It will be significantly different, and will be fully supported.

Last updated