refactor(b2b): split Master Data into dedicated B2B API specs#1585
Merged
PedroAntunesCosta merged 11 commits intomasterfrom Jan 27, 2026
Merged
refactor(b2b): split Master Data into dedicated B2B API specs#1585PedroAntunesCosta merged 11 commits intomasterfrom
PedroAntunesCosta merged 11 commits intomasterfrom
Conversation
|
Thanks for your contribution. The .json file will be checked now with Spectral. |
- Update POST /documents to return 201 Created and 202 Accepted
- Change PUT /documents/{id} to return 204 No Content
- Update PATCH /documents to return 200 OK with response body
- Change PATCH /documents/{id} to return 204 No Content
- Change DELETE /documents/{id} to return 204 No Content
- Apply same fixes to B2B Contact Information API
- Fix spectral linting issues in B2B Contracts API - Fix spectral linting issues in B2B Buyer Data API - Fix spectral linting issues in Master Data API v2 - Fix spectral linting issues in MasterData API v10.2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improve the architecture of B2B-related APIs by migrating endpoints from Master Data specs into dedicated, focused API specification files.
Main Change
Migrated B2B endpoints from Master Data specs into their own dedicated OpenAPI files:
VTEX - B2B Contracts API.jsonVTEX - MasterData API - v10.2.jsonVTEX - B2B Contact Information API.jsonVTEX - MasterData API - v10.2.jsonVTEX - B2B Buyer Data API.jsonVTEX - Master Data API - v2.jsonAdditional Changes (opportunistic)
addressLabelto AD create/update request schema in MasterData v10.2{addressId}and consolidate request/response schemasWhy