{ "opencollection": "1.0.0", "info": { "name": "eBay Account Advertising_eligibility Program API", "version": "v1.9.2" }, "items": [ { "info": { "name": "Program", "type": "folder" }, "items": [ { "info": { "name": "getOptedInPrograms", "type": "http" }, "http": { "method": "GET", "url": "https://api.ebay.com{basePath}/program/get_opted_in_programs", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This method gets a list of the seller programs that the seller has opted-in to." }, { "info": { "name": "optInToProgram", "type": "http" }, "http": { "method": "POST", "url": "https://api.ebay.com{basePath}/program/opt_in", "headers": [ { "name": "Content-Type", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This method opts the seller in to an eBay seller program. Refer to the Account API overview for information about available eBay seller programs.

Note: It can take up to 24-hours for eBay to process your request to opt-in to a Seller Program. Use the getOptedInPrograms call to check the st" }, { "info": { "name": "optOutOfProgram", "type": "http" }, "http": { "method": "POST", "url": "https://api.ebay.com{basePath}/program/opt_out", "headers": [ { "name": "Content-Type", "value": "" } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.ebay.com/oauth2/authorize", "accessTokenUrl": "https://api.ebay.com/identity/v1/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "This method opts the seller out of a seller program to which you have previously opted-in to. Get a list of the seller programs you have opted-in to using the getOptedInPrograms call." } ] } ], "bundled": true }