Skip to content

Commit

Permalink
Merge pull request #272 from MyParcelCOM/feature/MP-6894-get-service-…
Browse files Browse the repository at this point in the history
…rates-404-response-schema

✨ Add ServiceRates error response schema
  • Loading branch information
M4tini authored Dec 3, 2024
2 parents 04018af + 00f091a commit 6277885
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions specification/paths/ServiceRates.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,27 @@
}
}
}
},
"404": {
"description": "Rating is temporarily unavailable for one or more services, or the destination country is not serviced.",
"content": {
"application/vnd.api+json": {
"schema": {
"type": "object",
"required": [
"errors"
],
"properties": {
"errors": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Error"
}
}
}
}
}
}
}
}
}
Expand Down

0 comments on commit 6277885

Please sign in to comment.