Register Site
The `register_site` API allows for registering a new merchant site, or updating an existing one (for example phone number, address, etc). The site_id should stay stable in the update case. There is no limit or side effects to calling `register_site` once, periodically, or ad-hoc for a particular location.
**Note:** Partial updates are not supported. When updating an existing site, pass in all the attributes if there is no change in them.
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Request
This endpoint expects an object.
merchant_id
merchant_name
site_id
site_name
latitude
longitude
address_street
address_city
address_state_code
address_postal_code
phone_number
operating_hours
truck_lanes
tz_info
hiflow_diesel_pumps
parking_spots
pay_inside
pay_outside
fuel_products
amenities
restaurants
status
Response
OK
merchant_id
merchant_name
site_id
site_name
latitude
longitude
address_street
address_city
address_state_code
address_postal_code
phone_number
operating_hours
truck_lanes
tz_info
hiflow_diesel_pumps
parking_spots
pay_inside
pay_outside
fuel_products
amenities
restaurants
status
Errors
400
Bad Request Error

