The Collection Object represents a curated group of related items within the app’s mobile store. It is used to organize products, bookings, or events under a common theme or category for easier browsing and promotional purposes.
🔑 Key Characteristics:
- Each collection can be linked to one or more products
- Can include media, such as banners or thumbnails
- Supports visibility control via
status
(active/inactive)
- Often used for campaigns, seasonal groupings, or category views
Field | Type | Returned | Description |
id | String | Yes | Unique identifier of the collection. |
name | String | Yes | Display the name of the collection. |
description | String | Optional | Optional text describing the collection's purpose or content. |
image | Array | Optional | List of image objects (each with url , width , height ) used for banners or thumbnails. |
status | String | Yes | Collection status: "A" for active, "N" for non-active. |
category | String | Yes | Type of items inside the collection (e.g., product , event , booking ). |
products | Optional | List of product IDs linked to this collection. | |
date | date | Yes | Creation date of the item. |
version | String | Yes | Version information. |
✅ Object Example
json{ "id": "5121960361126208", "name": "New Collection", "description": "Collection Description", "image": [ { "width": 720, "url": "https:\/\/m1.nandbox.ca\/v1\/AUTH_137b624a8e434c4e88e9be30fa5e7bed\/g\/null073734a35fbf6f2374c2cfe1080a2c3eb28a64f8c75fc7ba0ef6d7b7fe3520af.jpg?temp_url_sig=3d864d3723b85e6ebce8c99231419781818ebbc1&temp_url_expires=2059203944", "height": 340 } ], "status": "A", "categoru": "product", "date": "2025-03-26 04:05:57", "version": "ctAZhT" }