CategoryById |
Get a category detailsRetrieve the full details of a single ecommerce category by its unique ID. The response includes the category name, URL, creation and modification timestamps, and deletion status. Returns a `404` error if no category matches the provided ID.
Catalog: Brevo
Schema: Ecommerce
This is a read-only table function. The Sendinblue API may not support changing the data or the Invantive UniversalSQL driver for Sendinblue does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Sendinblue API.
Parameters of Table Function
The following parameters can be used to control the behaviour of the table function CategoryById. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be evaluated using their default values.
Value specification by position is done by listing all values from the first to the last needed value. For example: a `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.
Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.
Name |
Data Type |
Required |
Default Value |
Documentation |
|---|---|---|---|---|
id |
|
☑ |
|
Category ID |
Columns of Table Function
The columns of the table function CategoryById are shown below. Each column has an SQL data type.
Name |
Data Type |
Label |
Required |
Documentation |
|---|---|---|---|---|
createdAt |
varchar2 |
Creation Date |
☐ |
Creation UTC date-time of the category (YYYY-MM-DDTHH:mm:ss.SSSZ) |
id |
varchar2 |
ID |
☐ |
Category ID for which you requested the details |
isDeleted |
char |
|
☐ |
category deleted from the shop's database |
modifiedAt |
varchar2 |
Modified Date |
☐ |
Last modification UTC date-time of the category (YYYY-MM-DDTHH:mm:ss.SSSZ) |
name |
varchar2 |
Name |
☐ |
Name of the category for which you requested the details |
url |
varchar2 |
URL |
☐ |
URL to the category |