• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language
    JavaScript
  • Created almost 5 years ago
  • Updated 3 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenAPI 3.0 JSON schemas. Files are automatically synced to the VTEX Developer Portal.

openapi-schemas

This documentation comprises VTEX's public APIs as OpenAPI 3.0 JSON schemas. Files are automatically synced with VTEX's Developer Portal API Reference page and can be imported to Postman following these instructions.

Contributing with the documentation

Please check our Contributing Guide for more information about how to contribute with this repository.

Code of Conduct

Please read our Code of Conduct before contributing.

VTEX APIs

  • Antifraud Provider API Swagger Validator
  • Catalog API Seller Portal Swagger Validator
  • Catalog API Swagger Validator
  • Checkout API Swagger Validator
  • Customer Credit API Swagger Validator
  • Data Subject Rights API Swagger Validator
  • GiftCard Hub API Swagger Validator
  • GiftCard API Swagger Validator
  • GiftCard Provider Protocol Swagger Validator
  • Headless CMS API Swagger Validator
  • Intelligent Search API Swagger Validator
  • Intelligent Search Events API - Headless Swagger Validator
  • Legacy CMS Portal API Swagger Validator
  • License Manager API Swagger Validator
  • Logistics API Swagger Validator
  • Marketplace APIs - Sent Offers Swagger Validator
  • Marketplace APIs - Suggestions Swagger Validator
  • Marketplace Protocol - External Marketplace Mapper Swagger Validator
  • Marketplace Protocol - External Marketplace Orders Swagger Validator
  • Marketplace Protocol - External Seller Fulfillment Swagger Validator
  • Marketplace Protocol - External Seller Marketplace Swagger Validator
  • Master Data API - v1 Swagger Validator
  • Master Data API - v2 Swagger Validator
  • Message Center API Swagger Validator
  • Orders API Swagger Validator
  • Orders API (PII compliant) Swagger Validator
  • Payment Provider Protocol Swagger Validator
  • Payments Gateway API Swagger Validator
  • Policies System API Swagger Validator
  • Price Simulations API Swagger Validator
  • Pricing API Swagger Validator
  • Pricing Hub Swagger Validator
  • Profile System API Swagger Validator
  • Promotions & Taxes API - v2 Swagger Validator
  • Promotions & Taxes API Swagger Validator
  • Recurrence (v1 - deprecated) Swagger Validator
  • Reviews and Ratings API Swagger Validator
  • SKU Bindings API Swagger Validator
  • Search API Swagger Validator
  • Session Manager API Swagger Validator
  • Subscriptions (v2 - deprecated) Swagger Validator
  • Subscriptions (v3) Swagger Validator
  • VTEX Tracking API Swagger Validator
  • VTEX Do API Swagger Validator
  • VTEX ID API Swagger Validator
  • VTEX Shipping Network API Swagger Validator

Requisites

Before contributing to this repository, read the following requisites.

Servers

OpenAPI describes the full endpoint for accessing the API as {server URL} + {endpoint path} + {path parameters}.

Example: an endpoint with /api/getResults as the path, https://example.com as the URL in the server object and no parameters will send requests to the https://example.com/api/getResults URL.

Example - servers object:

"servers": [
    {
        "url": "https://{accountName}.{environment}.com.br",
        "description": "VTEX server URL.",
        "variables": {
            "accountName": {
                "description": "Name of the VTEX account. Used as part of the URL.",
                "default": "apiexamples"
            },
            "environment": {
                "description": "Environment to use. Used as part of the URL.",
                "enum": [
                    "vtexcommercestable"
                ],
                "default": "vtexcommercestable"
            }
        }
    }
],

The servers key contains an array of objects.

Authentication

Security schemes

Security schemes describe autentication types that are available in the API. You can check the all the available options in the Security Scheme Specification.

They should be added inside the components object.

The security schemes we use are:

"securitySchemes": {
    "appKey": {
        "type": "apiKey",
        "in": "header",
        "name": "X-VTEX-API-AppKey",
        "description": "Unique identifier of the [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys)."
    },
    "appToken": {
        "type": "apiKey",
        "in": "header",
        "name": "X-VTEX-API-AppToken",
        "description": "Secret token of the [application key](https://developers.vtex.com/docs/guides/api-authentication-using-application-keys)."
    },
    "VtexIdclientAutCookie": {
        "type": "apiKey",
        "in": "header",
        "name": "VtexIdclientAutCookie",
        "description": "[User token](https://developers.vtex.com/docs/guides/api-authentication-using-user-tokens), valid for 24 hours."
    }
}

Security requirement

If defined inside the Open API schema, the security object will define the required security schemes for all endpoints. This specifies that requests should have the X-VTEX-API-AppKey and X-VTEX-API-AppToken pair or VtexIdClientAutCookie as part of the request header.

If defined inside an endpoint object, the security object will define the security scheme for that specific endpoint.

The security object we use at VTEX is:

"security": [
        {
            "appKey": [],
            "appToken": []
        },
        {
            "VtexIdclientAutCookie": []
        }
    ]

Adding a new file

After creating a file for a new API reference in this repository, read this step-by-step to publish it on our Developer Portal.

More Repositories

1

faststore

Digital commerce toolkit for frontend developers
TypeScript
185
star
2

react-hook-form-jsonschema

🚀 Lightweight project that exposes an API for easily creating customizable forms with built-in validation based on a JSON Schema.
TypeScript
177
star
3

styleguide

The VTEX Design System and React component library.
JavaScript
164
star
4

vtex.js

VTEX SDK for JavaScript
CoffeeScript
114
star
5

node-vtex-api

VTEX IO API Client for Node
TypeScript
75
star
6

speed

VTEX Store development tools - reverse proxy, compilation, minification, optimization and more!
CoffeeScript
61
star
7

toolbelt

CLI for creating and managing VTEX apps
TypeScript
59
star
8

front.phone

front.phone is a Javascript library that identifies, validates and formats phone numbers.
CoffeeScript
58
star
9

releasy

CLI tool to release node applications with tag and auto semver bump
JavaScript
55
star
10

typescript

VTEX's TypeScript tools, style guide and best practices
JavaScript
54
star
11

test-tools

Add tests to your VTEX IO app in an instant 🚀
TypeScript
51
star
12

becoming-a-driver

VTEX's Engineering Individual Contributors Career Track
Smarty
50
star
13

react-csv-parse

Import data from a csv file to your app and your api.
JavaScript
43
star
14

country-iso-3-to-2

Convert a country code ISO 3166-1 Alpha 3 to ISO 3166-1 Alpha 2
JavaScript
33
star
15

vtex-emails

Email framework for developing transactional email templates for VTEX E-commerces
Handlebars
33
star
16

front.portal-plugins

Portal front end plugins
CoffeeScript
32
star
17

country-iso-2-to-3

Convert a country code ISO 3166-1 Alpha-2 to ISO 3166-1 Alpha-3
JavaScript
30
star
18

dotfiles

Mac OSX Developer Setup
Shell
28
star
19

io-clients

TypeScript
27
star
20

address-form

A React component that renders VTEX's address forms
TypeScript
24
star
21

react-jsonschema-table

React component for generating a Table using JSON Schema specification
JavaScript
21
star
22

msk

Small library to mask strings
JavaScript
21
star
23

shoreline

VTEX Design System for back-office experiences. Currently available for internal usage at VTEX.
TypeScript
20
star
24

vtex-courses

TypeScript
20
star
25

splunkevents-js

Javascript lib to create Splunk Logs via HTTP
TypeScript
19
star
26

development-guidelines

Development Guidelines
17
star
27

vtex-tachyons

Functional CSS for humans — customized by the VTEX team
HTML
17
star
28

tortin

Tortin is a responsive theme for GitHub Pages with color options
CSS
16
star
29

github-pull-request-script

This script automates the process of creating pull requests with specific changes in multiple repositories.
TypeScript
15
star
30

exercise-tdd-javascript

Problem-solving with Test Driven Development and Javascript
JavaScript
14
star
31

speedbag

The no-nonsense front end boilerplate
HTML
14
star
32

intl-equalizer

👯‍♂️
JavaScript
11
star
33

andromedocs

andromedocs provides simple yet flexible tools for documenting Design Systems.
TypeScript
10
star
34

micro

A full-lifecycle meta-framework for fast web apps.
TypeScript
9
star
35

front.messages

jQuery and Bootstrap based messages plugin
CoffeeScript
9
star
36

findhelp

A simple and hackable lib to create modular CLI's
JavaScript
9
star
37

action-sonarqube

A Github action that runs the SonarScanner and adds SonarQube Issues as annotations in your pull requests.
TypeScript
9
star
38

ng-currency-mask

CoffeeScript
9
star
39

danger-plugin-keepachangelog

Makes changes to CHANGELOG consistent with keepachangelog standard
TypeScript
8
star
40

grunt-vtex

A Grunt convention-over-configuration meta-project
CoffeeScript
8
star
41

payment-mocker

A boilerplate to develop and test a Payment Method to VTEX Smart Checkout
CSS
8
star
42

action-toolbelt

This action deploys, cache for faster deploy, and do a login on VTEX Toolbet tool to automate CI/CD pipelines on GitHub
Shell
8
star
43

mkp-app-template

TypeScript
7
star
44

front.utils

VTEX Underscore extensions
CoffeeScript
7
star
45

FeedConsumerCSharp

A consumer boilerplate to VTEX Feed v3
C#
7
star
46

tachyons-generator

Generate a custom Tachyons build from a json configuration
JavaScript
6
star
47

action-io-app-test

Github action to run tests in VTEX IO Apps
JavaScript
6
star
48

show-time

a simple countdown timer powered by vtex-io
JavaScript
6
star
49

cron.js

JavaScript
6
star
50

workshop-react-native

Workshop to teach React Native by doing a Todo App
JavaScript
6
star
51

front.libs

Shared front end libs
CoffeeScript
6
star
52

profile-form

React component for managing user profiles
JavaScript
6
star
53

action-toolbelt-login

Perform login with VTEX Toolbelt using App Key/Token
TypeScript
6
star
54

danger

A opinionated danger.js configurable rule set and a companion github action
JavaScript
6
star
55

hyper-cas

hyper-cas is a Content-Addressable Storage aimed at JAMStack websites.
Go
6
star
56

admin-ui-example

Admin app example for the admin v4 with the admin-ui design system
TypeScript
5
star
57

ux-writing

UX Writing guidelines
JavaScript
5
star
58

formula-vtex

Site da Hackaton da VTEX
HTML
5
star
59

action-lint

Github action to optionally lint a project
JavaScript
5
star
60

delivery-packages

Small library to separate items in packages
JavaScript
5
star
61

vtex-copy-cart-example

This is an example of how to copy a cart and send it to inStore as checkout
JavaScript
5
star
62

pickup-points-modal

JavaScript
5
star
63

generator-vtex

Create a VTEX app
JavaScript
4
star
64

angular-google-analytics

Google Analytics wrapper for Angular
JavaScript
4
star
65

lens

VTEX Development Tools as Chrome Extension
CoffeeScript
4
star
66

estimate-calculator

Small library to calculate and compare SLAs' shippingEstimate
JavaScript
3
star
67

academy

Site público do programa de estágio da VTEX - http://academy.vtex.com
HTML
3
star
68

faststore-vtex-integrations

CSS
3
star
69

lean-shipping-calculator

JavaScript
3
star
70

react-tree-path

React decorator to uniquely identify components in a render tree.
JavaScript
3
star
71

render-extension-loader

JavaScript lib to fetch and render a Render extension point in a given DOM element
TypeScript
3
star
72

intl-container

A React component for loading i18n translations and intl locale data
JavaScript
3
star
73

interviews-mock-api

Mock API to server Interviews data
2
star
74

version-map

An easy-to-use package for manipulating version maps in S3.
CoffeeScript
2
star
75

react-address-book

Address book front end component made with React, Webpack and CommonJS
JavaScript
2
star
76

css-handles

TypeScript
2
star
77

api.protocol

Shell
2
star
78

checkout-ui-payment-guide

Guia de integração de meios pagamentos com a UI do Smart Checkout
HTML
2
star
79

act

A git-based configuration management and evolution tool
TypeScript
2
star
80

go-io

Collection of general-purpose packages for writing scalable go services.
Go
2
star
81

php-connector

Attempt to set up a REST API that passes the PPP tests
PHP
2
star
82

angular-intercom

Intercom wrapper for Angular
JavaScript
2
star
83

angular-locale

CoffeeScript
2
star
84

electron-cappta-debug

A simple repo for testing cappta checkout on VTEX
JavaScript
2
star
85

grunt-defaults

Grunt config mixins
CoffeeScript
2
star
86

pino-splunk-events

TypeScript
1
star
87

i18n-iso

Flexible, future proof and easy to use localization library based on the ISO language set standards
TypeScript
1
star
88

admin-assembly-options

TypeScript
1
star
89

vtex-ng-pagination

angular pagination module
JavaScript
1
star
90

eslint-config-vtex-react

JavaScript
1
star
91

search-tests

JavaScript
1
star
92

tsconfig

1
star
93

cli-plugin-support

TypeScript
1
star
94

cli-plugin-edition

TypeScript
1
star
95

git-tag-match

Check if the git tag matches package.json version
JavaScript
1
star
96

academy-guide

Guia de como estruturar e executar um VTEX Academy
1
star
97

camp

VTEX guides for on-boarding new engineers.
1
star
98

vtex.github.io

Organization GitHub page for VTEX
HTML
1
star
99

action-internal-docs

GitHub Action to automatically publish your documentation to VTEX Tech Docs
TypeScript
1
star
100

cli-plugin-submit

TypeScript
1
star