Skip to main content
GET
/
states
/
{code}
Retrieve a State
curl --request GET \
  --url https://commerce.driv.ly/api/states/{code}
{
  "data": {
    "code": "<string>"
  },
  "success": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.driv.ly/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

code
string
required

State is uniquely identified by State Code

Query Parameters

depth
integer

The number of levels of related objects to include in the response

Response

State Found

data
State · object
success
boolean