The Apiera REST API provides programmatic access to the Apiera platform, enabling seamless integration with your existing systems and workflows.
Apiera REST API (1.0.0)
Filter by exact creation timestamp.
Filter by minimum creation timestamp.
Filter by maximum creation timestamp.
Filter by exact update timestamp.
Filter by minimum update timestamp.
Filter by maximum update timestamp.
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types
- http://localhost:5281/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&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>'Successfully retrieved paginated list of product relation types.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Direction of the relation. OneWay creates a directional relation. TwoWay creates a symmetrical relation visible from both products.
[ { "uuid": "eee11111-e89b-12d3-a456-426614174001", "createdAt": "2025-11-20T08:15:00.000000Z", "updatedAt": "2025-11-20T08:15:00.000000Z", "code": "cross_sell", "direction": "oneWay" }, { "uuid": "eee11111-e89b-12d3-a456-426614174001", "createdAt": "2025-11-20T08:15:00.000000Z", "updatedAt": "2025-11-20T08:15:00.000000Z", "code": "up_sell", "direction": "oneWay" }, { "uuid": "eee11111-e89b-12d3-a456-426614174001", "createdAt": "2025-11-20T08:15:00.000000Z", "updatedAt": "2025-11-20T08:15:00.000000Z", "code": "related", "direction": "oneWay" } ]
Direction of the relation. OneWay creates a directional relation. TwoWay creates a symmetrical relation visible from both products.
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types
- http://localhost:5281/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",
"direction": "oneWay",
"reverseRelationTypeUuid": "60459039-755e-4d4b-83ac-437f5db4f8a6"
}'Product relation type created successfully.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Direction of the relation. OneWay creates a directional relation. TwoWay creates a symmetrical relation visible from both products.
{ "uuid": "eee11111-e89b-12d3-a456-426614174001", "createdAt": "2025-11-20T08:15:00.000000Z", "updatedAt": "2025-11-20T08:15:00.000000Z", "code": "cross_sell", "direction": "oneWay" }
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}
- http://localhost:5281/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>'Successfully retrieved product relation type.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Direction of the relation. OneWay creates a directional relation. TwoWay creates a symmetrical relation visible from both products.
{ "uuid": "eee11111-e89b-12d3-a456-426614174001", "createdAt": "2025-11-20T08:15:00.000000Z", "updatedAt": "2025-11-20T08:15:00.000000Z", "code": "cross_sell", "direction": "oneWay" }
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}
- http://localhost:5281/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",
"direction": 0,
"reverseRelationTypeUuid": "60459039-755e-4d4b-83ac-437f5db4f8a6"
}'Product relation type updated successfully.
Timestamp when this product relation type was created.
Timestamp when this product relation type was last modified.
Direction of the relation. OneWay creates a directional relation. TwoWay creates a symmetrical relation visible from both products.
{ "uuid": "eee11111-e89b-12d3-a456-426614174001", "createdAt": "2025-11-20T08:15:00.000000Z", "updatedAt": "2025-11-23T15:45:00.000000Z", "code": "cross_sell_premium", "direction": "oneWay" }
- Mock serverhttps://docs.apiera.io/_mock/openapi/v1/product-relation-types/{productRelationTypeUuid}
- http://localhost:5281/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>'