Skip to content

Commit 28edf16

Browse files
committed
TASK: Updating RAML types, Postman and OAS definition
1 parent 01e4fa4 commit 28edf16

File tree

4 files changed

+11
-2
lines changed

4 files changed

+11
-2
lines changed

bruno/api/Project/Product-discounts/ByProjectKeyProductDiscountsPost.bru

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ body:json {
2626
"centAmount" : 100
2727
} ]
2828
},
29-
"predicate" : "(product.id = "{{product-id}}" and variant.id = 1) or variant.key = "{{product-variant-key}}"",
29+
"predicate" : "(product.id = "{{product-id}}" and variant.id = 1) or variant.key = "{{product-variant-key}}" or attributes.label = "{{product-attribute-label}}"",
3030
"sortOrder" : "0.9534",
3131
"isActive" : true
3232
}

bruno/api/Project/Product-tailoring/ByProjectKeyProductTailoringPost.bru

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ body:json {
6464
"value" : "attribute-2"
6565
} ]
6666
} ],
67+
"attributes" : [ {
68+
"name" : "label",
69+
"value" : "product-attribute"
70+
} ],
6771
"publish" : false
6872
}
6973
}

bruno/api/Project/Product-types/ByProjectKeyProductTypesPost.bru

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ body:json {
2525
"en" : "The right size is important."
2626
},
2727
"isRequired" : false,
28-
"attributeConstraint" : "CombinationUnique"
28+
"attributeConstraint" : "None",
29+
"level" : "Product"
2930
} ]
3031
}
3132
}

bruno/api/Project/Products/ByProjectKeyProductsPost.bru

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ body:json {
5252
"h" : 197
5353
}
5454
} ]
55+
} ],
56+
"attributes" : [ {
57+
"name" : "label",
58+
"value" : "product-attribute"
5559
} ]
5660
}
5761
}

0 commit comments

Comments
 (0)