Skip to content

Commit e1bf9cb

Browse files
OAS Update
1 parent d6a161d commit e1bf9cb

1 file changed

Lines changed: 36 additions & 36 deletions

File tree

‎services/pim/v3beta1/pim.json‎

Lines changed: 36 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -2185,7 +2185,7 @@
21852185
}
21862186
}
21872187
},
2188-
"/v3beta1/marketing": {
2188+
"/v3beta1/marketing/products": {
21892189
"get": {
21902190
"description": "Returns a list of all marketing materials for all products, available for general public.",
21912191
"operationId": "ListMarketingData",
@@ -2238,43 +2238,31 @@
22382238
}
22392239
}
22402240
},
2241-
"/v3beta1/products": {
2241+
"/v3beta1/marketing/products/{productId}": {
22422242
"get": {
2243-
"description": "Returns all products, available for general public.",
2244-
"operationId": "ListProducts",
2243+
"description": "Retrieves the marketing data for a specific product, available for general public.",
2244+
"operationId": "GetMarketingData",
22452245
"parameters": [
22462246
{
2247-
"$ref": "#/components/parameters/LimitParam"
2247+
"$ref": "#/components/parameters/ProductIdPathParam"
22482248
},
22492249
{
22502250
"$ref": "#/components/parameters/Accept-Language"
2251-
},
2252-
{
2253-
"$ref": "#/components/parameters/SortParam"
2254-
},
2255-
{
2256-
"$ref": "#/components/parameters/CursorParam"
2257-
},
2258-
{
2259-
"$ref": "#/components/parameters/CategoryIdParam"
2260-
},
2261-
{
2262-
"$ref": "#/components/parameters/ShortNameParam"
2263-
},
2264-
{
2265-
"$ref": "#/components/parameters/LongNameParam"
22662251
}
22672252
],
22682253
"responses": {
22692254
"200": {
2270-
"$ref": "#/components/responses/PublicListProductsResponse"
2255+
"$ref": "#/components/responses/PublicGetMarketingResponse"
22712256
},
22722257
"400": {
22732258
"$ref": "#/components/responses/BadRequest"
22742259
},
22752260
"401": {
22762261
"$ref": "#/components/responses/Unauthorized"
22772262
},
2263+
"404": {
2264+
"$ref": "#/components/responses/NotFound"
2265+
},
22782266
"409": {
22792267
"$ref": "#/components/responses/Conflict"
22802268
},
@@ -2288,37 +2276,49 @@
22882276
"$ref": "#/components/responses/InternalServerError"
22892277
}
22902278
},
2291-
"summary": "List all products",
2279+
"summary": "Get marketing data for a product",
22922280
"x-stackit-authorization": {
22932281
"disabled": true
22942282
}
22952283
}
22962284
},
2297-
"/v3beta1/products/{productId}": {
2285+
"/v3beta1/products": {
22982286
"get": {
2299-
"description": "Retrieves a specific product by its ID, available for general public.",
2300-
"operationId": "GetProduct",
2287+
"description": "Returns all products, available for general public.",
2288+
"operationId": "ListProducts",
23012289
"parameters": [
23022290
{
2303-
"$ref": "#/components/parameters/ProductIdPathParam"
2291+
"$ref": "#/components/parameters/LimitParam"
23042292
},
23052293
{
23062294
"$ref": "#/components/parameters/Accept-Language"
2295+
},
2296+
{
2297+
"$ref": "#/components/parameters/SortParam"
2298+
},
2299+
{
2300+
"$ref": "#/components/parameters/CursorParam"
2301+
},
2302+
{
2303+
"$ref": "#/components/parameters/CategoryIdParam"
2304+
},
2305+
{
2306+
"$ref": "#/components/parameters/ShortNameParam"
2307+
},
2308+
{
2309+
"$ref": "#/components/parameters/LongNameParam"
23072310
}
23082311
],
23092312
"responses": {
23102313
"200": {
2311-
"$ref": "#/components/responses/PublicGetProductResponse"
2314+
"$ref": "#/components/responses/PublicListProductsResponse"
23122315
},
23132316
"400": {
23142317
"$ref": "#/components/responses/BadRequest"
23152318
},
23162319
"401": {
23172320
"$ref": "#/components/responses/Unauthorized"
23182321
},
2319-
"404": {
2320-
"$ref": "#/components/responses/NotFound"
2321-
},
23222322
"409": {
23232323
"$ref": "#/components/responses/Conflict"
23242324
},
@@ -2332,16 +2332,16 @@
23322332
"$ref": "#/components/responses/InternalServerError"
23332333
}
23342334
},
2335-
"summary": "Get product by ID",
2335+
"summary": "List all products",
23362336
"x-stackit-authorization": {
23372337
"disabled": true
23382338
}
23392339
}
23402340
},
2341-
"/v3beta1/products/{productId}/marketing": {
2341+
"/v3beta1/products/{productId}": {
23422342
"get": {
2343-
"description": "Retrieves the marketing data for a specific product, available for general public.",
2344-
"operationId": "GetMarketingData",
2343+
"description": "Retrieves a specific product by its ID, available for general public.",
2344+
"operationId": "GetProduct",
23452345
"parameters": [
23462346
{
23472347
"$ref": "#/components/parameters/ProductIdPathParam"
@@ -2352,7 +2352,7 @@
23522352
],
23532353
"responses": {
23542354
"200": {
2355-
"$ref": "#/components/responses/PublicGetMarketingResponse"
2355+
"$ref": "#/components/responses/PublicGetProductResponse"
23562356
},
23572357
"400": {
23582358
"$ref": "#/components/responses/BadRequest"
@@ -2376,7 +2376,7 @@
23762376
"$ref": "#/components/responses/InternalServerError"
23772377
}
23782378
},
2379-
"summary": "Get marketing data for a product",
2379+
"summary": "Get product by ID",
23802380
"x-stackit-authorization": {
23812381
"disabled": true
23822382
}

0 commit comments

Comments
 (0)