Types¶
Inventory types (e.g. "Vehicles", "Trailers") and their configuration.
- Base URL:
/wp-json/dms/v1/ - All requests require a Bearer API key - see Authentication.
Endpoints¶
| Method | Path | Capability | Purpose |
|---|---|---|---|
| GET | types |
- | All inventory types. |
| GET | type_data/{type_id} |
- | Full configuration for one type. |
GET /types¶
Returns every inventory type configured on the site. Use the returned IDs as {type_id} in the Inventory, Listings, and Categories & Terms endpoints.
GET /type_data/{type_id}¶
Returns the full configuration payload for a single type. Responds 404 if the type does not exist.
See also¶
- Categories & Terms - a type's attributes and their values.
- Inventory - listings for a type.