Optimizely Ship Vias API
The Ship Vias API from Optimizely — 11 operation(s) for ship vias.
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
“Which ship vias (shipping methods) are configured in my commerce store?”
“Can I filter shipping methods to only the pickup options?”
Tell an agent
List all ship vias.
List ship vias matching the filter {filter}.
Ask an LLM
“How do I add a new shipping method with its ERP ship code?”
“Can I give a new ship via a flat fee and a minimum fee?”
Tell an agent
Create ship via {description} with ship code {shipCode} and ERP code {erpShipCode}.
Add a shipping method {shipCode} for carrier {carrierId} with a flat fee of {flatFee}.
GET
/api/v1/admin/ShipVias({id})
Get a shipping method · Returns the entity with the key from ShipVias
#
Ask an LLM
“What fees and carrier does one ship via use?”
“Can I look up a single shipping method by its ID?”
Tell an agent
Get ship via {id}.
Show the settings of shipping method {id}.
Ask an LLM
“How do I overwrite a ship via with a completely new definition?”
“Does replacing a shipping method clear the fields I don't send?”
Tell an agent
Replace ship via {id} with ship code {shipCode}, ERP code {erpShipCode} and description {description}.
Overwrite all fields of shipping method {id}.
DELETE
/api/v1/admin/ShipVias({id})
Delete a shipping method · Delete entity in EntitySet ShipVias
#
Ask an LLM
“Can I permanently delete one ship via by its ID?”
“Is it possible to delete a shipping method only when its ETag matches?”
Tell an agent destructive · confirm first
Delete ship via {id}.
Delete shipping method {id} if its ETag is {etag}.
Ask an LLM
“How do I disable a single shipping method without resending all of it?”
“Can I make an existing ship via the default option?”
Tell an agent
Set enable to {enable} on ship via {id}.
Change the minimum fee of shipping method {id} to {minimumFee}.
GET
/api/v1/admin/ShipVias/Default.Default()
Get a blank shipping method template · Call operation Default
#
Ask an LLM
“What default values does a new ship via start with?”
“Can I fetch an empty shipping method template?”
Tell an agent
Fetch the default ship via template.
Show me the default values for a new shipping method.
Ask an LLM
“Can I archive shipping methods instead of deleting them?”
“How do I retire several ship vias with the archive action?”
Tell an agent destructive · confirm first
Archive the ship vias {ids} using the Default.archive action.
Run the archive operation on shipping methods {ids}.
DELETE
/api/v1/admin/shipvias/archive
Archive shipping methods via the route · Ship vias archive route
#
Ask an LLM
“Is there a DELETE route that archives ship vias rather than removing them?”
“What does the shipvias/archive route do with the IDs I pass?”
Tell an agent destructive · confirm first
Archive ship vias {ids} through the shipvias/archive route.
Use the archive route to retire shipping methods {ids}.
Ask an LLM
“Can I permanently delete several ship vias at once?”
“How do I remove a batch of shipping methods by ID?”
Tell an agent destructive · confirm first
Bulk delete the ship vias {ids}.
Permanently remove these shipping methods: {ids}.
GET
/api/v1/admin/shipvias({key})/customerorders({customerorderKey})
Get an order shipped with a ship via · Ship vias get customer order by key and customerorderkey
#
Ask an LLM
“Was a specific customer order shipped with a given shipping method?”
“Can I look up one customer order under a ship via?”
Tell an agent
Get customer order {customerorderKey} under ship via {key}.
Show order {customerorderKey} that used shipping method {key}.
GET
/api/v1/admin/shipvias({key})/customproperties({custompropertyKey})
Get a custom property on a ship via · Ship vias get custom property by key and custompropertykey
#
Ask an LLM
“Can I read a custom property stored on a shipping method?”
“What extra custom field values does a ship via carry?”
Tell an agent
Get custom property {custompropertyKey} on ship via {key}.
Show shipping method {key}'s custom property {custompropertyKey}.
GET
/api/v1/admin/shipvias({key})/shipcharges({shipchargeKey})
Get a ship charge for a ship via · Ship vias get ship charge by key and shipchargekey
#
Ask an LLM
“What ship charge is defined for a particular shipping method?”
“Can I look up one shipping charge row under a ship via?”
Tell an agent
Get ship charge {shipchargeKey} on ship via {key}.
Show the charge {shipchargeKey} configured for shipping method {key}.
GET
/api/v1/admin/shipvias({key})/shiprates({shiprateKey})
Get a ship rate for a ship via · Ship vias get ship rate by key and shipratekey
#
Ask an LLM
“Which rate tier applies to a given shipping method?”
“Can I fetch a single ship rate belonging to a ship via?”
Tell an agent
Get ship rate {shiprateKey} on ship via {key}.
Show rate {shiprateKey} for shipping method {key}.
GET
/api/v1/admin/shipvias({key})/shiprules({shipruleKey})
Get a ship rule for a ship via · Ship vias get ship rule by key and shiprulekey
#
Ask an LLM
“What shipping rule restricts when a ship via can be used?”
“Can I look up one ship rule attached to a shipping method?”
Tell an agent
Get ship rule {shipruleKey} on ship via {key}.
Show rule {shipruleKey} applied to shipping method {key}.