Skip to content

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.

curl "https://your-site.com/wp-json/dms/v1/types" \
  -H "Authorization: Bearer YOUR_KEY"

GET /type_data/{type_id}

Returns the full configuration payload for a single type. Responds 404 if the type does not exist.

curl "https://your-site.com/wp-json/dms/v1/type_data/4" \
  -H "Authorization: Bearer YOUR_KEY"

See also