cURL
curl --request PATCH \ --url https://commerce.driv.ly/api/cities/{state}/{name} \ --header 'Content-Type: application/json' \ --data '{ "name": "Springfield", "state": { "code": "IL" } }'
{ "data": { "name": "Springfield", "state": { "code": "IL" } }, "success": true }
City is uniquely identified by State
City is uniquely identified by Name
The number of levels of related objects to include in the response
City Updated
The response is of type object.
object