Lab - Widget Template
Lesson 7 of 22 · 15 min
In this lab you will
- Create a widget template using Postman
Prerequisites
- BC Sandbox
- API credentials for the store (Content: Modify)
- Postman installed
- Widgets API collection
Create a Widget Template
Create a widget template using Postman
- Navigate to the ‘Widget Templates > Create’ directory in the ‘V3 Widgets API’ collection in the ‘Collections’ pane on the left side of the Postman window
- Click the ‘Create’ post request
- Select the ‘Body’ tab in the main content window in Postman
- Update the content in the body to the following:
Templates are submitted in JSON format. When creating your own templates, make sure your HTML, CSS, and JavaScript are properly escaped.
- Click the ‘Send’ button at the top right of the Postman window
- Copy the Widget Template UUID from the response section at the bottom of the Postman window (this UUID will be used in the next lab)