Create a Service Item
Create a menu item. It can be added to a content collection later
Request
- Base URLhttps://workflows.promorepublic.com/webhook/2637089f-b543-45d0-a83e-2334aada4ead/listings/sandbox/api
- AuthHTTP bearer
Request body
Name of the service item as represented at the location
A description of the service
Required - A unique identifier for this service
Minimum price of the service item. Amounts must be provided in the smallest valid unit of the respective currency (e.g., USD - cents, 10.99 USD → 1099). See range interpretation rules under priceMax.
The currency of price and priceMax for this service (required when a price is given). Amounts for price fields must be expressed in the smallest valid unit of this currency (e.g., USD - cents).
A valid page url with more details about the item.
Business category the service should be applied to - this is required when applying a Google structured service but not necessary for freeform services.
The country where the locations providing this service are located - this is required when applying a Google structured service but not necessary for freeform services.
The Google name for a structured service - this is required when applying a Google structured service but not necessary for freeform services.
Maximum price for the item when using a price range. Amounts must be provided in the smallest valid unit of the respective currency (e.g., USD → cents). Range interpretation rules:
-
Exact: price == priceMax
-
Starts At: priceMax == null (only minimum known)
-
Range: price < priceMax (both known and different)
-
Not Interpreted: price is null (minimum unknown)
Validation: if provided, priceMax must be a non-negative integer and greater than or equal to price.
Minimum duration of the service in minutes. See range interpretation rules under durationMax.
Maximum duration (in minutes) when using a duration range. Range interpretation rules:
-
Exact: duration == durationMax\n
-
Starts At: durationMax == null (only minimum known)\n
-
Range: duration < durationMax (both known and different)\n
-
Not Interpreted: duration is null (minimum unknown)\n
Validation: if provided, durationMax must be a non-negative integer and greater than or equal to duration.
Example request
{
"currency": "USD"
}Response
Service Item successfully created
(optional) Holds further information about the response
(optional) Holds further warnings
The actual response object of the response
Changes
No recorded changes to this operation across all 1 revision of this API.