POST

Query Info Sections


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Retrieves a list of up to 100 info sections, given the provided filtering, sorting, and cursor paging. Pass supported values to the fields array in the request to include those fields in the response.

Query Info Sections runs with these defaults, which you can override:

  • createdDate is sorted in DESC order
  • cursorPaging.limit is 100

For field support for filters and sorting, see Info Sections: Supported Filters and Sorting.

To learn about working with Query endpoints, see API Query Language, and Sorting and Paging.

Permissions
Manage Stores - all permissions
Read Stores - all read permissions
Manage Orders
Manage Products
Read Products
Manage Restaurants - all permissions
Read v3 catalog
Manage v3 catalog
Read info sections in v3 catalog
Product write in v3 catalog
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/stores/v3/info-sections/query

Body Params
queryQuery

Query options.


fieldsArray <string>maxItems 100

Fields to include in the response.

Supported values: ASSIGNED_PRODUCTS_COUNT

Response Object
infoSectionsArray <InfoSection>

List of info sections.


pagingMetadataPagingMetadata

Details on the paged set of results returned.

Query Info Sections

Query InfoSections using WQL - Wix Query Language.

Request
cURL
curl -X POST \ 'https://www.wixapis.com/stores/v3/info-sections/query' \ -H 'Content-Type: application/json' \ -H 'Authorization: <AUTH>' \ --d '{ "query": { "filter": { "title": "Product Features" }, "sort": [ { "fieldName": "title", "order": "DESC" } ], "cursorPaging": { "limit": 2 } } }' \
Response
JSON
{ "infoSections": [ { "id": "13463334-f607-40ce-99d5-8a00ca33d635", "revision": "1", "createdDate": "2024-06-30T12:18:45.672Z", "updatedDate": "2024-06-30T12:18:45.672Z", "uniqueName": "Series 1 Cup", "title": "Product Features", "description": { "nodes": [ { "type": "PARAGRAPH", "id": "ohot5271", "nodes": [ { "type": "TEXT", "id": "", "nodes": [], "textData": { "text": "Dual-wall", "decorations": [ { "type": "COLOR", "colorData": { "foreground": "#ff0000" } }, { "type": "BOLD", "fontWeightValue": 700 } ] } }, { "type": "TEXT", "id": "", "nodes": [], "textData": { "text": " design for the hydration bottle keeps drinks cold for up to 24 hours & hot for up to 12 hours ", "decorations": [] } } ], "paragraphData": {} }, { "type": "TABLE", "id": "jx3te102", "nodes": [ { "type": "TABLE_ROW", "id": "yysx7107", "nodes": [ { "type": "TABLE_CELL", "id": "gl0nw108", "nodes": [ { "type": "PARAGRAPH", "id": "h0mav109", "nodes": [ { "type": "TEXT", "id": "", "nodes": [], "textData": { "text": "product", "decorations": [] } } ], "paragraphData": {} } ], "tableCellData": {} } ] } ], "tableData": { "dimensions": { "colsWidthRatio": [587], "rowsHeight": [47], "colsMinWidth": [120] } } }, { "type": "PARAGRAPH", "id": "cjje5104", "nodes": [], "paragraphData": {} } ], "metadata": { "version": 1 }, "documentStyle": {} } }, { "id": "906b1045-5a54-4bca-8783-04dac7fa4a56", "revision": "1", "createdDate": "2024-06-30T12:19:17.438Z", "updatedDate": "2024-06-30T12:19:17.438Z", "uniqueName": "Series 11 Cup", "title": "Product Features", "description": { "nodes": [ { "type": "PARAGRAPH", "id": "ohot5271", "nodes": [ { "type": "TEXT", "id": "", "nodes": [], "textData": { "text": "Dual-wall", "decorations": [ { "type": "COLOR", "colorData": { "foreground": "#ff0000" } }, { "type": "BOLD", "fontWeightValue": 700 } ] } }, { "type": "TEXT", "id": "", "nodes": [], "textData": { "text": " design for the hydration bottle keeps drinks cold for up to 24 hours & hot for up to 12 hours ", "decorations": [] } } ], "paragraphData": {} }, { "type": "TABLE", "id": "jx3te102", "nodes": [ { "type": "TABLE_ROW", "id": "yysx7107", "nodes": [ { "type": "TABLE_CELL", "id": "gl0nw108", "nodes": [ { "type": "PARAGRAPH", "id": "h0mav109", "nodes": [ { "type": "TEXT", "id": "", "nodes": [], "textData": { "text": "product", "decorations": [] } } ], "paragraphData": {} } ], "tableCellData": {} } ] } ], "tableData": { "dimensions": { "colsWidthRatio": [587], "rowsHeight": [47], "colsMinWidth": [120] } } }, { "type": "PARAGRAPH", "id": "cjje5104", "nodes": [], "paragraphData": {} } ], "metadata": { "version": 1 }, "documentStyle": {} } } ], "pagingMetadata": { "count": 2, "cursors": { "next": "e54b3ccf2ec4837915a92003c7884789d035f3ba.Eh8qHQobCgV0aXRsZRISGhBQcm9kdWN0IEZlYXR1cmVzGh0KBXRpdGxlEAEaEhoQUHJvZHVjdCBGZWF0dXJlcyIkOTA2YjEwNDUtNWE1NC00YmNhLTg3ODMtMDRkYWM3ZmE0YTU2" }, "hasNext": true } }
Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?