Get Custom Prices

This endpoint returns all custom price discounts


Endpoint

GET /products/custom-prices

Authentication

Required: Authorization header with valid token

Query Parameters

ParameterTypeRequiredDescriptionExample
attachToProductIdstring (UUID v4)NoReturn only custom prices not yet attached to any specific product3fa85f64-5717-4562-b3fc-2c963f66afa6

Response

Success

[
  {
    "id": "string (UUID)",
    "name": "string",
    "authorId": "string (UUID)",
    "organizationId": "string (UUID)",
    "defaultDiscount": 0.0,
    "discountCalculation": "PRICE",
    "createdAt": "2024-01-01T00:00:00Z",
    "updatedAt": "2024-01-01T00:00:00Z",
  }
]

Response Field Descriptions:

  • id - Unique identifier of the custom price
  • name - Name of the custom price (unique per organization)
  • authorId - ID of the user who created the custom price
  • organizationId - Organization the custom price belongs to
  • defaultDiscount - Default discount value (default: 0.0)
  • discountCalculation - Discount calculation type (PRICE or PERCENTAGE)
  • createdAt - Timestamp when the custom price was created
  • updatedAt - Timestamp when the custom price was last updated

Example Usage

curl -X GET "https://integration-api.ram.syniotec.com/master-data/v1/product-management/products/custom-price?attachToProductId=3fa85f64-5717-4562-b3fc-2c963f66afa6" \
  -H "Authorization: Bearer YOUR_TOKEN"