Admin: Локации

Create Location

post/api/v1/admin/locations/

Request

Request body

namestring required
display_namestring nullable
addressstring nullable
citystring nullable
timezonestring
phonestring nullable
emailstring nullable
fridge_countinteger
is_activeboolean
show_in_menuboolean
online_payment_enabledboolean
sort_orderinteger

Response

Successful Response

namestring required
display_namestring nullable
addressstring nullable
citystring nullable
timezonestring
phonestring nullable
emailstring nullable
fridge_countinteger
is_activeboolean
show_in_menuboolean
online_payment_enabledboolean
sort_orderinteger
idinteger required
public_idstring required
slugstring nullable
total_stockinteger
unique_products_countinteger

Changes

No recorded changes to this operation across all 4 revisions of this API.