Skip to content

Product photos

Product photos. They are added through the add_media action on products.

Module: Catalog (catalog).

  • GET /api/v1/product_media - List with filters, sorting and pagination (scope catalog:read)
  • GET /api/v1/product_media/{id} - A record by id (scope catalog:read)
  • id (string, uuid; read): Unique identifier (UUID).
  • product_id (string, uuid; read)
  • variant_product_id (string, uuid; read)
  • public_url (string; read)
  • alt (string; read)
  • position (integer; read)
  • width (integer; read)
  • height (integer; read)
  • created_at (string, date-time; read): Creation date (ISO 8601).
  • media_id (string, uuid; read)