StateSet One API Documentation
Orders
- GETList Orders
- GETRetrieve Order
- POSTAdd Item to Order
- POSTRemove Item from Order
- Add discount
- POSTRemove Discount
- POSTApply Promotion
- POSTRemove Promotion
- POSTCreate Order
- POSTCancel Order
- POSTHold Order
- POSTRelease Order
- POSTShip Order
- POSTReturn Order
- POSTRefund Order
- POSTExchange Order
- POSTSplit Order
- POSTMerge Order
- POSTTag Order
- POSTUpdate Order
Returns
Return Line Items
Warranty Line Items
Wholesale Orders
Inventory Items
Packing List
Packing List Items
Purchase Orders
Bill of Materials
Bill of Materials Line Item
Work Orders
Work Order Line Items
Cycle Counts
Manufacture Orders
Manufacture Order Line Items
Leads
Cases
Search Quickstart
Getting started with the Search API
Search
How to use the Search on StateSet One?
Global Search is available across the Stateset One Platform and across 3PL instances. Customer Service Agents, Warehouse Operators and other users can search for specific records by serial number, order id, ticket id and other configurable fields to specific records in stateset.
How to use Search?
1
Create Index
Create an index in the StateSet app
2
Save a Record
Save a record in the StateSet app
3
Update a Record
Update a record in the StateSet app
Search Hits
Search
const ReturnHits = ({ hits }) => (
<ul class="list-none">
{hits.map(hit => (
<li key={hit.objectID}>
<div className="rounded-lg px-3 py-3 hover:bg-gray-100 relative focus-within:ring-2 focus-within:ring-blue-500 z-50">
<h3 className="text-base font-semibold text-gray-800">
<a className="hover:underline focus:outline-none">
<Link href='/crm/return/[id]' as={`/crm/return/${hit.objectID}`}>{hit.rma}</Link>
</a>
</h3>
<p className="mb-3 mt-1 text-base text-gray-600 line-clamp-2">{hit.rma} - Serial Number: {hit.serial_number} - Status: {hit.status} - Order Id: {hit.order_id}</p>
</div>
</li>
))}
</ul>
);