/
AG
agriya
/
OFOS API Endpoints
Search skmtc…
⌘K
Docs
Sign in
Sign in
APIs
Generators
Stacks
Projects
Docs
History
Schema
Sources
Checked 14m ago · Updated 4w ago
View markdown
agriya
OFOS API Endpoints
post
Creates a new state
8db13a44d758
latest
Swagger 2.0
Agriya Infoway Licence
2026-07-17
164
100
176.6 KB
Attachment
2
Cart
5
City
5
Contact
4
Country
5
Coupon
6
Cuisine
4
DeviceDetail
4
EmailTemplate
3
Language
5
MoneyTransferAccount
5
Order
7
Page
5
PaymentGateway
8
Provider
3
Restaurant
6
RestaurantAddon
5
RestaurantCategory
5
RestaurantCuisine
3
RestaurantDeliveryPerson
9
RestaurantDeliveryPersonOrder
4
RestaurantMenu
5
RestaurantReview
5
RestaurantSupervisor
5
RestaurantTiming
5
Role
2
Setting
3
SettingCategory
2
State
5
get
Fetch all states
post
Creates a new state
get
Fetch state
put
Update state by its id
delete
Delete state
Stats
1
Transactions
1
Translation
3
UserAddress
5
UserCashWithdrawal
4
Users
13
Wallet
2
State
Creates a new state
Creates a new state
post
/states
Request body
AddState
required
name
string
Name of State.
country_id
integer
Country id .
state_code
string
State code of State.
is_active
integer
Is active.
Response
New state added
State
required
id
integer
created_at
string
updated_at
string
country_id
integer
name
string
slug
string
state_code
string
is_active
integer