Skip to main content
Products contain the customer-facing information and images LocalAds uses in creative workflows. Every product belongs to a brand.

Upload a local product image

If the image is on a computer or private server, upload it first. Send one file at a time using multipart form data and keep the returned url. The endpoint accepts JPG, PNG, WebP, HEIC, and HEIF images up to 10 MB.
Use url in the product’s image_urls array. To add several images, repeat the upload once per file. Do not send base64 or a JSON data URL. If an image is already available at a public HTTPS URL, you can place that URL directly in image_urls; LocalAds will validate it and keep its own copy.

Create a product

brand_id and name are required. Get the brand ID from GET /brands. Add description to give creative workflows customer-facing product context, and add image_urls when the product will be used for image generation. You can provide source_url instead of name to add a product from its page. Requests with a URL or image URLs return 202 Accepted with status: "processing". Retrieve the product until its status is ready before starting creative work. Idempotency-Key is optional on creation and safely replays a repeated request. Do not combine source_url and image_urls in one request.

List products

The response uses cursor pagination:
When next_cursor is not null, pass it unchanged in the next request:

Retrieve a product

Resources outside the API key’s organization return 404, just like missing resources.

List photoshoot creatives

Retrieve the completed photoshoot images generated for a product:
The endpoint returns only completed, customer-facing photoshoot outputs. It does not return templates, moodboards, failed attempts, or intermediate assets. Use next_cursor unchanged to retrieve the next page.

Update a product

Send only the fields that should change:
description and the other supplied fields replace their current values. Send description: null to clear the description. image_urls replaces the complete image list; send an empty array to clear the images. Supplying new image URLs returns 202 Accepted; retrieve the product until its status is ready.

Delete a product

A successful deletion returns 204 No Content. The product and its related resources are no longer available through the API, active generation stops, and subsequent requests for the product return 404 Not Found. Deletion cannot be reversed through the public API.
Last modified on August 24, 2026