For AI agents: visit https://erplain.readme.io/v2.0/llms.txt for an index of all pages formatted in Markdown and endpoints in OpenAPI. Append .md to any documentation page URL to get its markdown version.
Retrieve warehouse locations used for stock management.
Location — Returns a single location based on the id provided
query GetLocation($id: ID) {
Location(id: $id) {
id
label
active
deleted_at
backup_location { id label }
stock_transferred
address { id label country address_1 postal_code city }
integrations { id }
type
shipping_cost
phone
replace_company_name
}
}
{
"id": 100012
}
Locations — Returns a list of locations with ordering and filters
query Locations(
$where: QueryLocationsWhereWhereConditions,
$orderBy: [QueryLocationsOrderByOrderByClause!],
$search: String
) {
Locations(
where: $where
orderBy: $orderBy
search: $search
) {
data {
id
label
active
deleted_at
backup_location { id label }
stock_transferred
type
shipping_cost
phone
replace_company_name
}
}
}