Admin: Локации

Update Location

put/api/v1/admin/locations/{location_id}

Request

Path parameters

location_idinteger required

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.