Booking and shop actions
Steps that create or change a booking, order, coupon or product price.
On this page
Who is this lesson for?
Anyone who adds a step that should change a record in this area.
How to read this list
These steps work on bookings, orders, coupons and products.
A line that says the step is not in Open builder yet still appears here so you can plan. It will not show when you add a step until it is available.
Steps in this list
Create booking
booking.appointment.create.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Serviceservice_id | Yes | The record. |
Starts atstarts_at | Yes | A date and time. |
Time zonetimezone | Yes | Text or a value from the record. |
Clientclient_id | No | The record. |
Customer namecustomer_name | No | Text or a value from the record. |
Branchbranch_id | No | The record. |
Assigneeassignee_id | No | The record. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Statusstatus | Yes | Text or a value from the record. |
Confirm booking
booking.appointment.confirm.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Expected versionexpected_version | Yes | A number. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Reschedule booking
booking.appointment.reschedule.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Starts atstarts_at | Yes | A date and time. |
Time zonetimezone | Yes | Text or a value from the record. |
Expected versionexpected_version | Yes | A number. |
Reasonreason | Yes | Text or a value from the record. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Schedule revisionschedule_revision | Yes | A number. |
Cancel booking
booking.appointment.cancel.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Reasonreason | Yes | Text or a value from the record. |
Policypolicy_id | Yes | The record. |
Expected versionexpected_version | Yes | A number. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Refund requiredrefund_required | Yes | Yes or no. |
Check customer in
booking.appointment.check_in.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Atat | Yes | A date and time. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Appointmentappointment_id | Yes | The record. |
Add to waitlist
booking.appointment.add_waitlist.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Clientclient_id | Yes | The record. |
Serviceservice_id | Yes | The record. |
From onfrom_on | Yes | A date. |
To onto_on | Yes | A date. |
Preferencespreferences | No | Extra details. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Waitlistwaitlist_id | Yes | The record. |
Create order
commerce.order.create.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Clientclient_id | No | The record. |
Guestguest | No | Extra details. |
Itemsitems | Yes | Text or a value from the record. |
Channelchannel | Yes | Text or a value from the record. |
Payment methodpayment_method | Yes | Text or a value from the record. |
Shipping addressshipping_address | No | Extra details. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Totaltotal | Yes | An amount. |
Confirm order
commerce.order.confirm.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Expected versionexpected_version | Yes | A number. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Prepare order
commerce.order.create_fulfillment.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Warehousewarehouse_id | Yes | The record. |
Itemsitems | Yes | Text or a value from the record. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Fulfillmentfulfillment_id | Yes | The record. |
Cancel order
commerce.order.cancel.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Expected versionexpected_version | Yes | A number. |
Reasonreason | Yes | Text or a value from the record. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Compensation refscompensation_refs | Yes | Text or a value from the record. |
Create return
commerce.order.create_return.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Orderorder_id | Yes | The record. |
Itemsitems | Yes | Text or a value from the record. |
Reasonreason | Yes | Text or a value from the record. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Returnreturn_id | Yes | The record. |
Create coupon
commerce.coupon.create.v1
Not in Open builder yet.
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Codecode | Yes | Text or a value from the record. |
Discountdiscount | Yes | Extra details. |
Valid fromvalid_from | Yes | A date and time. |
Valid tovalid_to | Yes | A date and time. |
Usage limitusage_limit | Yes | A number. |
Segmentsegment_id | No | The record. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Couponcoupon_id | Yes | The record. |
Change product price
commerce.product.update_price.v1
Fields you fill
| Field | Required? | What it is |
|---|---|---|
Productproduct_id | Yes | The record. |
Price listprice_list_id | Yes | The record. |
Priceprice | Yes | An amount. |
Effective ateffective_at | Yes | A date and time. |
Expected versionexpected_version | Yes | A number. |
What the step returns
| Field | Required? | What it is |
|---|---|---|
Price revisionprice_revision_id | Yes | The record. |