Need help with your APIs? I offer API discovery, governance & evangelism services. Explore services →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Wish OAuth API

The OAuth API from Wish — 3 operation(s) for oauth.

Wish OAuth API is one of 21 APIs that Wish publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include OAuth. The published artifact set on APIs.io includes an OpenAPI specification, authentication docs, and rate-limit docs.

This API exposes 4 operations across 3 paths, and defines 4 schemas. It is described by OpenAPI 3.0.0, at version 3.0.65.

Requests are made against a single base URL, https://merchant.wish.com.

4 operations 3 paths 4 schemas 3 GET1 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.0.0
API Version
3.0.65
Base URL
https://merchant.wish.com/api/v3
Authentication
OpenID Connect, OAuth 2.0
Resource Areas
1

Authentication & Security 2

Wish OAuth API declares 2 security schemes for authenticating requests. It supports OpenID Connect (OpenID) discovered at https://merchant.wish.com/oidc/.well-known/openid-configuration. It supports OAuth 2.0 (OAuth2) using the authorizationCode flow, exposing 37 scopes. By default, every request must be authenticated.

Paths & Operations 4

Across 3 paths, the API surfaces 4 operations — 3 GET, 1 POST. Each is listed below with its method, path, parameters, and response codes.

OAuth 4
POST
/api/v3/oauth/access_token
Retrieve an access token
oauthAccessTokenPost body → 200400
GET
/api/v3/oauth/access_token
Retrieve an access token
oauthAccessToken 5 params → 200400
GET
/api/v3/oauth/test
Test if an access token is valid
oauthTest → 200400
GET
/api/v3/oauth/refresh_token
Obtain a new token when the current token expires
oauthRefreshToken 4 params → 200400

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are RetrieveAccessToken (5 properties), AccessToken (5 properties), APIError (2 properties), TestTokenResponse (1 property). Each schema is shown below with its type and property counts.

APIError
object
2 properties 2 required
AccessToken
object
5 properties 5 required
TestTokenResponse
object
1 property 1 required
RetrieveAccessToken
object
5 properties 5 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

wish-oauth-api-openapi.yml Raw ↑

Other APIs Wish publishes across the network.

Wish Brands API
Wish Bulk Products API
Wish Currencies API
Wish EU Product Compliance API
Wish France EPR Compliance API
Wish Germany EPR Compliance API
Wish Merchant API
Wish Orders API
Wish Payments API
Wish Penalties API
Wish ProductBoost API
Wish Products API