This page was automatically generated from tracezilla’s Swagger API documentation 2026-07-17

GET /b2b/products

Get list of B2bProducts

Description

Returns list of B2bProducts

Parameters (query)

Name Required Description Values
sortBy optional Field to sort by. Without sort specified it will sort first by ref and then name.  
sortDirection optional Direction of sort. asc, desc

Responses

200

successful operation

406

not acceptable

500

internal server error

POST /b2b/products

Create new B2bProduct

Description

Create a new B2bProduct

Request body

Description

Target B2bProduct.

Required

This parameter is required.

Request body JSON schema
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
{
  "properties": {
    "featured_image_file_id": {
      "description": "No description is available",
      "type": "string",
      "format": "uuid",
      "example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
    },
    "slug": {
      "description": "No description is available",
      "type": "string",
      "format": "string",
      "example": "A string"
    },
    "id": {
      "description": "No description is available",
      "type": "string",
      "format": "uuid",
      "example": "be3233c4-c0a2-4f47-a62a-303492c20ba6"
    },
    "active": {
      "description": "Boolean indicating if the record is active and could be referenced from other entities",
      "type": "boolean",
      "format": "boolean",
      "example": true
    },
    "created_at": {
      "description": "The time when the record was created in UTC date & time (Iso8601 ZuluString)",
      "type": "string",
      "format": "date-time",
      "example": "2019-01-01T13:25:32.312Z"
    },
    "updated_at": {
      "description": "The time when the record was last updated in UTC date & time (Iso8601 ZuluString)",
      "type": "string",
      "format": "date-time",
      "example": "2020-01-01T13:25:32.312Z"
    }
  },
  "type": "object"
}

Responses

406

not acceptable

500

internal server error