From c27603f949e869148570ebb8bd3ec6db34a985b7 Mon Sep 17 00:00:00 2001 From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 10:29:09 +0000 Subject: [PATCH] Updated API from documentation release --- api-specs/api/resources/product-tailoring.raml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api-specs/api/resources/product-tailoring.raml b/api-specs/api/resources/product-tailoring.raml index f455ef369..d42fa1959 100644 --- a/api-specs/api/resources/product-tailoring.raml +++ b/api-specs/api/resources/product-tailoring.raml @@ -16,6 +16,12 @@ get: body: application/json: example: !include ../examples/product-tailoring-list.example.json +head: + securedBy: [oauth_2_0: { scopes: ['view_products:{projectKey}'] }] + description: Checks if a ProductTailoring exists for a given Query Predicate. Returns a `200 OK` status if any ProductTailoring match the Query Predicate or a `404 Not Found` otherwise. + queryParameters: + where?: + type: QueryPredicate[] post: description: | Generates the [ProductTailoringCreated](ctp:api:type:ProductTailoringCreatedMessage) Message.