The Apiera REST API provides programmatic access to the Apiera platform, enabling seamless integration with your existing systems and workflows.
Apiera REST API (1.1.0)
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types
- Productionhttps://api.apiera.io/v1/product-relation-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.apiera.io/_mock/openapi/v1/product-relation-types?uuids%5Beq%5D=497f6eca-6276-4993-bfeb-53cbbbba6f08&codes%5Beq%5D=string&code%5Bcontains%5D=string&code%5Bstarts%5D=string&code%5Bends%5D=string&code%5Border%5D=string&displayNames%5Beq%5D=string&displayName%5Bcontains%5D=string&displayName%5Bstarts%5D=string&displayName%5Bends%5D=string&displayName%5Border%5D=string&createdAt%5Beq%5D=2025-11-23T14%3A15%3A22.123456Z&createdAt%5Bmin%5D=2025-11-23T14%3A15%3A22.123456Z&createdAt%5Bmax%5D=2025-11-23T14%3A15%3A22.123456Z&createdAt%5Border%5D=string&updatedAt%5Beq%5D=2025-11-23T14%3A15%3A22.123456Z&updatedAt%5Bmin%5D=2025-11-23T14%3A15%3A22.123456Z&updatedAt%5Bmax%5D=2025-11-23T14%3A15%3A22.123456Z&updatedAt%5Border%5D=string&page=0&size=0' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'A paginated list of product relation types.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Directionality of a product relation type.
| Enum Value | Description |
|---|---|
| oneWay | The relation applies in one direction only. |
| twoWay | The relation applies in both directions. |
{ "items": [ { … } ], "pagination": { "page": 0, "size": 0, "totalItems": 0, "totalPages": 0 } }
Directionality of a product relation type.
| Enum Value | Description |
|---|---|
| oneWay | The relation applies in one direction only. |
| twoWay | The relation applies in both directions. |
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types
- Productionhttps://api.apiera.io/v1/product-relation-types
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X POST \
https://docs.apiera.io/_mock/openapi/v1/product-relation-types \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"displayName": "string",
"direction": "oneWay",
"reverseRelationTypeUuid": "60459039-755e-4d4b-83ac-437f5db4f8a6"
}'The created product relation type.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Directionality of a product relation type.
| Enum Value | Description |
|---|---|
| oneWay | The relation applies in one direction only. |
| twoWay | The relation applies in both directions. |
{ "uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2025-01-15T10:30:00.000000Z", "updatedAt": "2025-01-15T10:30:00.000000Z", "code": "cross-sell", "displayName": "Cross Sell", "direction": "oneWay" }
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}
- Productionhttps://api.apiera.io/v1/product-relation-types/{productRelationTypeUuid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'The requested product relation type.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Directionality of a product relation type.
| Enum Value | Description |
|---|---|
| oneWay | The relation applies in one direction only. |
| twoWay | The relation applies in both directions. |
{ "uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2025-01-15T10:30:00.000000Z", "updatedAt": "2025-01-15T10:30:00.000000Z", "code": "cross-sell", "displayName": "Cross Sell", "direction": "oneWay" }
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}
- Productionhttps://api.apiera.io/v1/product-relation-types/{productRelationTypeUuid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
'https://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"code": "string",
"displayName": "string",
"direction": 0,
"reverseRelationTypeUuid": "60459039-755e-4d4b-83ac-437f5db4f8a6"
}'The updated product relation type.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Directionality of a product relation type.
| Enum Value | Description |
|---|---|
| oneWay | The relation applies in one direction only. |
| twoWay | The relation applies in both directions. |
{ "uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "createdAt": "2025-01-15T10:30:00.000000Z", "updatedAt": "2025-01-15T10:30:00.000000Z", "code": "cross-sell", "displayName": "Cross Sell", "direction": "oneWay" }
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}
- Productionhttps://api.apiera.io/v1/product-relation-types/{productRelationTypeUuid}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
'https://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}' \
-H 'Authorization: Bearer <YOUR_JWT_HERE>'