POST /products, GET /products, GET /products/{product_id},
PATCH /products/{product_id}, DELETE /products/{product_id}
under https://makelocalads.com/api/v1
Permissions: read with products:read, create with products:create,
update with products:update, delete with products:delete
Open in LocalAds
Your workspace’s products on the app’s home screen.
Create a product
A product can come from a product page URL, or from a name plus images. LocalAds reads asource_url for the name, description and images; with images you
already have, send image_urls instead. Do not combine the two.
Input fields
string
The product’s name, 1 to 200 characters. Optional when
source_url is sent;
LocalAds reads it from the page.string
Customer-facing product context used by creative workflows, 1 to 10,000
characters. Send
null on update to clear it.string
The product’s category, 1 to 100 characters. Defaults to
product. Recipes
offered for a campaign can depend on it.string
A product page URL. LocalAds reads the page for the name, description and
images. Do not combine with
image_urls.array
Up to 6 public HTTPS image URLs, or URLs returned by
Image uploads. Do not combine with
source_url.Complete JSON schema
Complete JSON schema
Wait for ready
A request with source_url or image_urls returns 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.
List products
next_cursor is not null, pass it
unchanged in the next request:
limit is 1 to 100 and defaults to 20.
Retrieve a product
GET /products/{product_id} returns the product, including its
audiences summary. Resources outside the API key’s organization return
404, just like missing resources.
Update a product
Send only the fields that should change: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
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.