GET
/
states
/
{code}
curl --request GET \
  --url https://commerce.driv.ly/api/states/{code}
{
  "data": {
    "code": "<string>"
  },
  "success": true
}

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

200
application/json

State Found

The response is of type object.