Skip to content

Commit

Permalink
Aplied review sugestion
Browse files Browse the repository at this point in the history
  • Loading branch information
geisecosta committed Nov 22, 2023
1 parent eb8738a commit 69410b3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions VTEX - Promotions & Taxes API.json
Original file line number Diff line number Diff line change
Expand Up @@ -4566,7 +4566,7 @@
}
},
"400": {
"description": "Bad request.\n\nThe error message can vary as follows:\n- The `skus` object needs to have a valid `id` attribute.\n- The `products` object needs to have a valid `id` attribute.\n- The `brands` object needs to have a valid `id` attribute.\n- The `categories` object needs to have a valid `id` attribute.\n- The `paymentsMethods` object needs to have a valid `id` attribute.\n",
"description": "Bad request.",
"content":{
"application/json":{
"schema":{
Expand All @@ -4575,10 +4575,13 @@
"properties":{
"errors": {
"type": "object",
"description": "Object with errors.",
"additionalProperties": {
"type": "array",
"description": "Array with error messages.",
"items": {
"type": "string"
"type": "string",
"description": "Error message.\n\nThe error message can vary as follows:\n- The `skus` object needs to have a valid `id` attribute.\n- The `products` object needs to have a valid `id` attribute.\n- The `brands` object needs to have a valid `id` attribute.\n- The `categories` object needs to have a valid `id` attribute.\n- The `paymentsMethods` object needs to have a valid `id` attribute."
}
}
},
Expand All @@ -4599,7 +4602,7 @@
"example": {
"error": {
"": [
"Error message"
"The `skus` object needs to have a valid `id` attribute."
]
},
"type": "https://tools.ietf.org/html/rfc7231#section-6.5.1",
Expand Down

0 comments on commit 69410b3

Please sign in to comment.