{ "opencollection": "1.0.0", "info": { "name": "Wish Marketplace V3 Brands Variations API", "version": "3.0.65" }, "request": { "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://merchant.wish.com/v3/oauth/authorize", "accessTokenUrl": "https://merchant.wish.com/api/v3/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "items": [ { "info": { "name": "Variations", "type": "folder" }, "items": [ { "info": { "name": "Create a variation", "type": "http" }, "http": { "method": "POST", "url": "https://merchant.wish.com/api/v3/products/:id/variations", "params": [ { "name": "id", "value": "", "type": "path", "description": "ID of the product to add a variation to" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://merchant.wish.com/v3/oauth/authorize", "accessTokenUrl": "https://merchant.wish.com/api/v3/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Create a variation" }, { "info": { "name": "Get a list of accepted colors.", "type": "http" }, "http": { "method": "GET", "url": "https://merchant.wish.com/api/v3/products/variations/colors", "params": [ { "name": "id_min", "value": "", "type": "query", "description": "The beginning id (inclusive) of the color result array. The lexicographically smallest id will be used if not provided." }, { "name": "id_max", "value": "", "type": "query", "description": "The ending id (inclusive) of the color result array. The lexicographically largest id will be used if not provided." }, { "name": "sort_by", "value": "", "type": "query", "description": "The attribute to sort colors in the response." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of records in the response. All records will be returned by default." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://merchant.wish.com/v3/oauth/authorize", "accessTokenUrl": "https://merchant.wish.com/api/v3/oauth/access_token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "The list of accepted colors." } ] } ], "bundled": true }