4WS Suite
Home
API Reference
  • Data mangement API
  • Documents API
Home
API Reference
  • Data mangement API
  • Documents API
Fourwayshop
  1. Catalog
  • Login
    • login
      POST
  • Product
    • Brand
      • Get All Brands
      • Get A Brand
      • Insert brand
      • Update brand
    • Season
      • Get All Seasons
      • Get A Season
      • Insert season
      • Update season
    • Attribute
      • Get All Attribute Types
      • Get Attribute Type
      • Get Attribute
      • Insert attribute
      • Update attribute
    • Hierarchy
      • Insert hierarchy
      • Update hierarchy
    • Dimension groups
      • Insert dimension group
      • Update dimension group
    • Dimension
      • Insert dimension
      • Update dimension
      • Delete dimension
    • Product
      • Get products
      • Get product
      • Get product grouping
      • Get SKU's barcodes
      • Get product stock
      • Insert product
      • Update product
    • Activate dimensions on products
      • Insert active dimensions
      • Delete active dimensions
    • Barcode
      • Get SKU from barcode
      • Generate missing barcodes
      • Generate missing barcode for SKU
      • Insert barcode
      • Delete barcode
    • Prices
      • Get product prices
    • Price dimension groupings
      • Get Dimension Price Grouping
      • Get All Dimension Price Grouping
      • Insert dimension grouping
      • Update dimension grouping
      • Delete dimension grouping
    • Assortment
      • insert product assortment
      • delete product assortment
    • Image
      • Get images
      • Add image
      • Replace image
      • Delete image
    • Supplier
      • Get Item suppliers
      • Insert item supplier
      • Delete item supplier
      • Update item supplier
    • Custom category
      • Get Custom code
      • Insert Custom code
      • Update Custom code
    • Vat
      • Vat types
        • Get VAT type
        • Get VAT types
      • VATs
        • Get VATs
        • Get VATs by type
        • Get VAT
      • Vat rates
        • Get VAT rates
        • Get single VAT rates
    • Stock
      • Insert stock
      • Get stock
  • Price lists
    • Get price lists
      GET
    • Get price lists by type
      GET
    • Get price list
      GET
    • Get prices from price list
      GET
    • Get entities from price lists
      GET
    • Insert Price List
      POST
    • Insert Product Price
      POST
    • Insert Entity On Price Lists
      POST
    • Update price list
      PATCH
    • Delete all product prices
      DELETE
    • Delete single product price
      DELETE
    • Delete entity from a price lists
      DELETE
  • Supplier
    • Supplier contacts
    • Supplier addresses
    • Get Suppliers
    • Get A Specific Supplier
    • Insert supplier
    • Update supplier
  • Entities
    • Get entities
    • Get entity
    • Insert entity
    • Update entity
  • Miscellaneous
    • Get requests rate limits
  • Catalog
    • Get Catalogs details
      GET
    • Get Catalog details by Code
      GET
    • Get products by Catalog Code
      GET
  • Export
    • Get bulk CSV Export
  1. Catalog

Get Catalogs details

GET
/api/v1/catalogs
Last modified:2025-05-08 14:57:08

Retriving Catalogs#

This API allows an external system, such as an e-commerce platform or a B2B order collection website, to get product catalogs.
The API supports pagination to navigate through large lists of catalogs.
Paginated Responses
The service is paginated to handle large sets of data efficiently.
For detailed information on how to handle pagination, refer to our Paginated Responses

Languages#

The API response includes multilingual descriptions. The fields description_it and description_en provide Product Catalogs descriptions in Italian and English, respectively.
Manage languages
For detailed information on how to handle languages, refer to our Managing Languages

Actors#

API Client: The system or user initiating the request.
Ecommerce site: The ecommerce site.
4ws.trade: The backend system that processes the request.

Preconditions#

The external system must have the necessary permissions and access to the service, please refer to Authentication.
Pagination parameters cursor and nextCursor must be correctly configured in the request.

Scenarios#

1.
Retrieving All Catalogs: If no specific catalog code is provided, the API will return a paginated list of all available catalogs.
2.
Retrieving a Specific Catalog: If a catalog code is provided in the path, the API will return details for the specified catalog.
Path Parameters#
{CATALOG_CODE}: The code of the specific catalog to retrieve. If provided, the API will return only the catalog corresponding to this code.

Response Example for All Catalogs#

Example CURL Commands#

Retrieve All Catalogs
Response Example
Retrieve a Specific Catalog
Response Example

Alternate Flows#

Authentication Error: If the client does not provide valid credentials, an error response is returned.
Error Example
If CATALOG_CODE is incorrect or does not exist, the API will return an error.
Error Example: invalid `CATALOG_CODE`
Empty Result: If no collections exist, the entities array will be empty.
Cursor & PageSize Used Together: Cursor and PageSize parameters in the request: If you specify a Cursor you cannot specify the page size. This information will already be contained within the cursor.
Error Example
Pagination Error: If invalid cursor parameters are provided, an error response is returned.
Rate Limiting: If the API rate limits are exceeded, the client must respect the retry interval indicated in the response headers Rate Limits.

Sequence Diagram in Mermaid#


Code Examples in Node.js#

Request

Query Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v1/catalogs?page=0&pageSize=100&cursor'

Responses

🟢200OK
application/json
Body

Example
{
    "catalogs": [
        {
            "prog_id": -23526288.63344273,
            "company_id": "t",
            "site_id": 595849.8669679463,
            "catalog_code": "80",
            "description_it": "pariatur ipsum proident consequat Excepteur",
            "description_en": "aliquip Lorem",
            "description_de": "dolor sit",
            "description_es": "pariatur in sed Duis proident",
            "description_fr": "commodo culpa ex",
            "description_pt": "Excepteur paria",
            "description_ru": "velit dolore",
            "description_ar": "qui in mo",
            "description_ja": "ipsum in",
            "description_zh": "fugiat",
            "start_date": "2024-09-18",
            "end_date": "2025-04-20",
            "channel_code": "DIGITAL",
            "active": true,
            "pricelist_code": "395.69",
            "retail_pricelist_code": "426.99",
            "user_id_create": "elit culpa",
            "create_date": "2024-04-13",
            "user_id_update": "2025-09-14",
            "last_update": "2024-07-16",
            "data_source": "deserunt commodo",
            "row_version": -892702716,
            "status": "E"
        },
        {
            "prog_id": -63216036.64985198,
            "company_id": "q",
            "site_id": -20913343.277634054,
            "catalog_code": "100",
            "description_it": "sed",
            "description_en": "dolor ea dolore exercitation esse",
            "description_de": "dolor culpa et",
            "description_es": "mollit aliqua cillum in consectetur",
            "description_fr": "eu aute occaecat",
            "description_pt": "officia minim sed magna",
            "description_ru": "in",
            "description_ar": "mollit",
            "description_ja": "ullamco ipsum",
            "description_zh": "fugiat sit anim ipsum",
            "start_date": "2024-03-21",
            "end_date": "2024-09-23",
            "channel_code": "ECOMMERCE",
            "active": false,
            "pricelist_code": "318.85",
            "retail_pricelist_code": "628.89",
            "user_id_create": "reprehenderit veniam nostrud",
            "create_date": "2025-07-04",
            "user_id_update": "2024-08-10",
            "last_update": "2025-05-06",
            "data_source": "et culpa eu esse qui",
            "row_version": -2136240508,
            "status": "v"
        }
    ],
    "moreRows": false,
    "cursor": "esse cillum eiusmod elit ipsum"
}
🟠422Invalid pageSize
🟠401Authentication failed
🟠403Operation not allowed
Modified at 2025-05-08 14:57:08
Previous
Get requests rate limits
Next
Get Catalog details by Code
Built with