Lab - Widgets
Lesson 18 of 23 · 30 min
In this lab you will
- Create a Widget using Postman
Prerequisites
- BC Sandbox
- API credentials for the store (Content: Modify)
- Postman installed
- Widgets API collection
Create a Widget
Create a widget using Postman
- Navigate to the ‘Widgets and Page Builder’ folder in the ‘Widgets API Labs’ collection in the ‘Collections’ panel on the left side of the Postman window
- Click the ‘Create Widget’ post request
- Select the ‘Body’ tab in the main content window in Postman
- Confirm the content in the ‘Body’ tab is the following:
- Confirm that the
widget_template_uuidenvironment variable contains the Widget Template UUID from the end of Module 4: Lab - Create a Widget Template for Static Content. The request fills it in automatically - Click the ‘Send’ button at the top right of the Postman window
- Observe the Widget UUID in the response section at the bottom of the Postman window. The request saves it to the
widget_uuidenvironment variable, which is used in the next lab