Commerce Extensions
Creating Custom APIs
- Go to COMMERCE EXTENSIONS > Custom APIs.
- Select Create New.
- Fill out the following details in the Basic Details section:
- In Name, enter the the name of the Custom API. It should be between 1 and 255 characters.
- In Description, enter the description for the Custom API.
- Fill out the following details in the Advanced Options section:
- In API Type, enter the type of the Custom API.
- In Slug, enter a unique slug identifier for the Custom API.
- Select Create Custom API.
Creating Custom Fields
To create a Custom Field for a Custom API, follow these steps:
- Go to COMMERCE EXTENSIONS > Custom APIs.
- Click on the target Custom API in the list.
- Select Create Field and choose one of the following options:
- String
- Integer
- Boolean
- Fill out the following details in the Basic Details section:
- In Name, enter the name of the field for the Custom API. It should be between 1 and 255 characters.
- In Description, enter the description for the field.
- In Slug, enter a unique slug identifier for the field.
- Select Create Field.
Creating Custom API Entries
To create a Custom API Entry for a Custom API, follow these steps:
- Go to COMMERCE EXTENSIONS > Custom APIs.
- In the Actions column, click the button associated with the target Custom API and click View Entries option.
- Select Create Entry.
- Fill out the values for the configured Custom Fields as desired.
- Select Create Entry.