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