Country States

Available Country State Endpoints

This document will show you how to interact with country states through the Lemonstand API. It will give examples of the data returned from calls, formatting of calls, and how to update/create/remove products.

GET /countries/{country_id}/state/{state_id}

Retrieves a single state's details according to the ID given.

PATCH /countries/{country_id}/state/{state_id}

Modifies a single state's details according to the ID given. The information you want patched will be in the body of the call.

See examples
DELETE /countries/{country_id}/state/{state_id}

Removes a single state according to the ID given.

See examples
POST /country/{id}

Creates a new state according to the information in the body of the call.

See examples
GET /countries/{country_id}/states

Retrieves a list of country states and their details.

See examples