Optimizely Dealers API
The Dealers API from Optimizely — 11 operation(s) for dealers.
Operations 15
Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay
Ask an LLM
“How can I pull the full dealer list as an admin, with filtering?”
“Can I count how many dealer records exist in a given state?”
Tell an agent
List all dealer records from the admin API.
List admin dealers matching {filter}, top {top}, ordered by {orderby}.
Ask an LLM
“What address details are required when I add a new dealer location?”
“Can I set map coordinates for a dealer when creating it?”
Tell an agent
Create dealer {name} at {address1}, {city}, {state} {postalCode}.
Add dealer {name} managed by {manager} with phone {phone}.
GET
/api/v1/admin/Dealers({id})
Get a dealer record by ID (admin) · Returns the entity with the key from Dealers
#
Ask an LLM
“Can I fetch one dealer's full admin record by its GUID?”
“Which dealer fields can I select or expand in the admin lookup?”
Tell an agent
Get admin dealer record {id}.
Fetch dealer {id} from the admin API returning only {select}.
Ask an LLM
“Can I overwrite an entire dealer record with a new address?”
“What's the full-replace call for a dealer?”
Tell an agent
Replace dealer {id} with name {name} and address {address1}.
Overwrite all fields of dealer {id}, setting city {city} and state {state}.
Ask an LLM
“How do I remove a single dealer that has closed?”
“Can I delete a dealer only if nobody changed it since I read it?”
Tell an agent destructive · confirm first
Delete dealer {id}.
Delete dealer {id} if its ETag is still {etag}.
Ask an LLM
“Can I change just a dealer's phone number without resending the address?”
“Is there a partial update for a dealer's website URL?”
Tell an agent
Update dealer {id} phone to {phone}.
Patch dealer {id} to set website URL {websiteUrl}.
GET
/api/v1/admin/Dealers/Default.Default()
Get default values for a new dealer · Call operation Default
#
Ask an LLM
“What does a blank dealer template look like before I fill it in?”
“Which defaults are pre-populated on a new dealer?”
Tell an agent
Get the default dealer template.
Show pre-filled values for a new dealer record.
Ask an LLM
“Can I bulk delete a batch of dealers in one call?”
“Is there a way to remove many dealer locations by ID list?”
Tell an agent destructive · confirm first
Bulk delete dealers {ids}.
Remove the dealers in the list {ids}.
GET
/api/v1/admin/dealers({key})/categories({categoryKey})
Get a category assigned to a dealer · Dealers get category by key and categorykey
#
Ask an LLM
“Can I check whether a product category is linked to a dealer?”
“Where do I read a single category on a dealer record?”
Tell an agent
Get category {categoryKey} on dealer {key}.
Show dealer {key}'s linked category {categoryKey}.
GET
/api/v1/admin/dealers({key})/customproperties({custompropertyKey})
Get a custom property on a dealer · Dealers get custom property by key and custompropertykey
#
Ask an LLM
“Can I read an extra custom field stored on a dealer?”
“Where are custom attributes of a dealer kept?”
Tell an agent
Get custom property {custompropertyKey} on dealer {key}.
Show dealer {key}'s custom field {custompropertyKey}.
GET
/api/v1/admin/dealers({key})/products({productKey})
Get a product carried by a dealer · Dealers get product by key and productkey
#
Ask an LLM
“Can I confirm a specific product is associated with a dealer?”
“Which call returns one product on a dealer's record?”
Tell an agent
Get product {productKey} carried by dealer {key}.
Show dealer {key}'s associated product {productKey}.
GET
/api/v1/admin/dealers({key})/websites({websiteKey})
Get a website a dealer is assigned to · Dealers get website by key and websitekey
#
Ask an LLM
“Can I check which storefront website a dealer belongs to?”
“Which endpoint reads one website link on a dealer?”
Tell an agent
Get website {websiteKey} for dealer {key}.
Show dealer {key}'s assigned website {websiteKey}.
Ask an LLM
“How do I find the dealers closest to a shopper's latitude and longitude?”
“Can I search storefront dealers by name within a set radius?”
Tell an agent
Find dealers within {radius} of latitude {latitude}, longitude {longitude}.
Search the dealer locator for dealers named {name}.
Ask an LLM
“Can a storefront page load one dealer's address and hours by ID?”
“What does the public dealer detail endpoint return?”
Tell an agent
Show storefront dealer {dealerId}.
Load dealer {dealerId}'s public details for the locator page.
Ask an LLM
“Can I resolve a dealer from its page URL segment?”
“Which call finds a dealer by path instead of ID?”
Tell an agent
Find the dealer at path {path}.
Resolve dealer page URL {path} to its dealer.