This doc page has moved! You should be automatically redirected to the resources page for the eBay Account API. If you are not redirected automatically, follow this link to the Account API.

eBay Account APIVersion 1.2.0

Opt-in to Program

POST /program/opt_in

Use this call to opt-in to an eBay seller program. Currently available programs include the Out of Stock Control and the Selling Policy Management program. When you opt-in to the SELLING_POLICY_MANAGEMENT, eBay can associate the business policies you create with the items you list.

Note: It can take up to 24-hours for eBay to process your request to opt-in to a Seller Program. Use the Get Opted-in Programs call to check the status of your request after a processing period has passed.


See also Samples.

Resource URI (production)


This call has no path or query parameters.

HTTP request headers

All requests made to eBay REST operations require you to provide the authorization HTTP header for authentication.
See HTTP request headers for details.

OAuth request scope

This request requires a user access token with the following scope:

See Getting Access Tokens for more information.

Payload model

The following lists all fields that could be included in the request.

{ /* Program */
"programType": string

Request field descriptions

Input Container/Field Type Occurrence Meaning
programType string Required Program type.

Applicable values are from ProgramTypeEnum:

The Out of Stock Control program that sellers can participate in by opting-in to the program.
The selling policy management program that sellers can participate in by opting-in to the program. Sellers must opt-in to this program if they want eBay to associste the business policies they create with the items they list.


See also Samples.

HTTP status codes

This call can return one of the following HTTP status codes. See the HTTP Status Code Registry for a complete overview of HTTP status codes.

Status Meaning
204 Success
400 Bad Request
404 Not Found
500 Internal Server Error

Payload model

This call has no response payload.

Error Codes

Code Domain Category Nature Meaning
20401 API_ACCOUNT REQUEST ERROR Missing field {fieldName}. {additionalInfo}
20501 API_ACCOUNT APPLICATION ERROR Service unavailable. Please try again in next 24 hours.


Note: Some item IDs, user IDs, or other data in these samples might no longer be active on eBay. If necessary, you can substitute current eBay data in your requests.

Sample: Opt-in to a seller program


This request enrolls a seller into the specified eBay seller program.


Supply the program that you want to optin to using the programType field.

URL format. See also the non-wrapped version of this URL.


      "programType": "OUT_OF_STOCK_CONTROL"


This call does not return a response payload.

JSON format.
If successful, this call returns an HTTP status code of "200 OK" and an empty response body.

Change History

Change Date Description
  • Call (added): New call.