| state_id | integer The internal ID for this state/territory/province/county. |
| country_code | string The 2 character country code for this state/territory/province/county. |
| state_code | string The 2 character code for this state/territory/province/county. |
| state_name | string The full name of this state |
| group_name | string You may group states/territories/provinces/counties by entering the same value for all in the group. |
| sort_order | integer The sort order of this item in a list. |
| enabled | boolean Determines if this is shown to the customer. |
{- "state_id": 0,
- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}This allows you to get a list of states
Successful operation
Unauthorized
[- {
- "state_id": 0,
- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}
]This allows you to add a new state
Submit any or all elements to add a new state.
Successful operation
Unauthorized
{- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}{- "state_id": 0,
- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}This allows you to get a state from your store by state ID
Successful operation
Unauthorized
{- "state_id": 0,
- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}This allows you to update a state
Submit any or all elements to update the state.
Successful operation
Unauthorized
{- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}{- "state_id": 0,
- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}This allows you to delete a state from your store
Successful operation
Unauthorized
{- "state_id": 0,
- "country_code": "string",
- "state_code": "string",
- "state_name": "string",
- "group_name": "string",
- "sort_order": 0,
- "enabled": true
}