Skip to content

Commit 49ff9ab

Browse files
committed
updating error codes
1 parent d0bc2bf commit 49ff9ab

1 file changed

Lines changed: 6 additions & 15 deletions

File tree

articles/LCPublicAPI/api/Public-API.v1.json

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -20150,27 +20150,18 @@
2015020150
}
2015120151
},
2015220152
"403": {
20153-
"description": "Forbidden. The authenticated user does not have permission to create vendors.",
20154-
"headers": {
20155-
"X-LC-TraceId": {
20156-
"$ref": "#/components/headers/X-LC-TraceId"
20157-
}
20158-
},
20153+
"description": "Error codes:\n* \"forbidden\": the authenticated user is not allowed to create vendor order templates.",
2015920154
"content": {
2016020155
"application/json": {
2016120156
"schema": {
2016220157
"$ref": "#/components/schemas/error-response"
20163-
},
20164-
"examples": {
20165-
"forbidden": {
20166-
"summary": "Insufficient permissions",
20167-
"value": {
20168-
"message": "You do not have permission to create vendors.",
20169-
"errorCode": "FORBIDDEN"
20170-
}
20171-
}
2017220158
}
2017320159
}
20160+
},
20161+
"headers": {
20162+
"X-LC-TraceId": {
20163+
"$ref": "#/components/headers/X-LC-TraceId"
20164+
}
2017420165
}
2017520166
},
2017620167
"409": {

0 commit comments

Comments
 (0)