Account API
API version: v1.9.2
Auth
OAuth2
Base URL
https://api.ebay.com/sell/account/v1
Setup
- 1. Configure auth: OAuth2
- GET /custompolicy/ -- verify access
- POST /custompolicy/ -- create first custom_policy
Endpoints
36 endpoints across 12 groups. See references/api-spec.lap for full details.
custompolicy| Method | Path | Description |
|---|
| GET | /custompolicy/ | This method retrieves the list of custom policies specified by the policytypes query parameter.Note: Custom policies are no longer coupled with a specific eBay marketplace, so the EBAY-C-MARKETPLACE-ID request header is no longer needed or relevant for any of the Custom Policy methods. |
| POST |
/custompolicy/ | This method creates a new custom policy in which a seller specifies their terms for complying with local governmental regulations. Two Custom Policy types are supported: Product Compliance (PRODUCTCOMPLIANCE) Takeback (TAKEBACK)Each Custom Policy targets a policyType. Multiple policies may be created as follows: Product Compliance: a maximum of 60 policies per seller may be created Takeback: a maximum of 18 policies per seller may be createdA successful create policy call returns an HTTP status code of 201 Created with the system-generated policy ID included in the Location response header.Product Compliance PolicyProduct Compliance policies disclose product information as required for regulatory compliance.Note: A maximum of 60 Product Compliance policies per seller may be created. Takeback PolicyTakeback policies describe the seller's legal obligation to take back a previously purchased item when the buyer purchases a new one.Note: A maximum of 18 Takeback policies per seller may be created.Note: Custom policies are no longer coupled with a specific eBay marketplace, so the EBAY-C-MARKETPLACE-ID request header is no longer needed or relevant for any of the Custom Policy methods. |
| GET | /custom
policy/{custompolicy
id} | This method retrieves the custom policy specified by the custompolicy_id path parameter.Note: Custom policies are no longer coupled with a specific eBay marketplace, so the EBAY-C-MARKETPLACE-ID request header is no longer needed or relevant for any of the Custom Policy methods. |
| PUT | /custom
policy/{custompolicy
id} | This method updates an existing custom policy specified by the custompolicy_id path parameter. This method overwrites the policy's Name, Label, and Description fields. Therefore, the complete, current text of all three policy fields must be included in the request payload even when one or two of these fields will not actually be updated. For example, the value for the Label field is to be updated, but the Name and Description values will remain unchanged. The existing Name and Description values, as they are defined in the current policy, must also be passed in. A successful policy update call returns an HTTP status code of 204 No Content.Note: Custom policies are no longer coupled with a specific eBay marketplace, so the EBAY-C-MARKETPLACE-ID request header is no longer needed or relevant for any of the Custom Policy methods. |
fulfillmentpolicy| Method | Path | Description |
|---|
| POST | /fulfillmentpolicy/ | This method creates a new fulfillment policy where the policy encapsulates seller's terms for fulfilling item purchases. Fulfillment policies include the shipment options that the seller offers to buyers. Each policy targets a specific eBay marketplace and a category group type, and you can create multiple policies for each combination. A successful request returns the getFulfillmentPolicy URI to the new policy in the Location response header and the ID for the new policy is returned in the response payload. Tip: For details on creating and using the business policies supported by the Account API, see eBay business policies. Using the eBay standard envelope service (eSE)The eBay standard envelope service (eSE) is a domestic envelope service with tracking through eBay. This service applies to specific sub-categories of Trading Cards, and to coins & paper money, postcards, stamps, patches, and similar eligible categories, and is only available on the US marketplace. To use this service, send envelopes using the USPS mail and set the shippingServiceCode field to USeBayStandardEnvelope. See Using eBay standard envelope (eSE) service for details. See eBay standard envelope for additional details, restrictions, and an envelope size template. |
| GET |
/fulfillmentpolicy/{fulfillmentPolicyId} | This method retrieves the complete details of a fulfillment policy. Supply the ID of the policy you want to retrieve using the fulfillmentPolicyId path parameter. |
| PUT | /fulfillment
policy/{fulfillmentPolicyId} | This method updates an existing fulfillment policy. Specify the policy you want to update using the fulfillmentpolicy_id path parameter. Supply a complete policy payload with the updates you want to make; this call overwrites the existing policy with the new details specified in the payload. |
| DELETE | /fulfillment_policy/{fulfillmentPolicyId} | This method deletes a fulfillment policy. Supply the ID of the policy you want to delete in the fulfillmentPolicyId path parameter. |
| GET | /fulfillment
policy | This method retrieves all the fulfillment policies configured for the marketplace you specify using the marketplaceid query parameter. Marketplaces and locales Get the correct policies for a marketplace that supports multiple locales using the Content-Language request header. For example, get the policies for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers. |
| GET | /fulfillment
policy/getby
policyname | This method retrieves the details for a specific fulfillment policy. In the request, supply both the policy name and its associated marketplace_id as query parameters. Marketplaces and locales Get the correct policy for a marketplace that supports multiple locales using the Content-Language request header. For example, get a policy for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers. |
paymentpolicy| Method | Path | Description |
|---|
| GET | /paymentpolicy | This method retrieves all the payment policies configured for the marketplace you specify using the marketplaceid query parameter. Marketplaces and locales Get the correct policies for a marketplace that supports multiple locales using the Content-Language request header. For example, get the policies for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers. |
| POST |
/paymentpolicy | This method creates a new payment policy where the policy encapsulates seller's terms for order payments. Each policy targets a specific eBay marketplace and category group, and you can create multiple policies for each combination. A successful request returns the getPaymentPolicy URI to the new policy in the Location response header and the ID for the new policy is returned in the response payload. Tip: For details on creating and using the business policies supported by the Account API, see eBay business policies. |
| GET | /payment
policy/{paymentpolicy_id} | This method retrieves the complete details of a payment policy. Supply the ID of the policy you want to retrieve using the paymentPolicyId path parameter. |
| PUT | /payment
policy/{paymentpolicy
id} | This method updates an existing payment policy. Specify the policy you want to update using the paymentpolicy_id path parameter. Supply a complete policy payload with the updates you want to make; this call overwrites the existing policy with the new details specified in the payload. |
| DELETE | /payment
policy/{paymentpolicy_id} | This method deletes a payment policy. Supply the ID of the policy you want to delete in the paymentPolicyId path parameter. |
| GET | /payment
policy/getby
policyname | This method retrieves the details of a specific payment policy. Supply both the policy name and its associated marketplace_id in the request query parameters. Marketplaces and locales Get the correct policy for a marketplace that supports multiple locales using the Content-Language request header. For example, get a policy for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers. |
paymentsprogram| Method | Path | Description |
|---|
| GET | /paymentsprogram/{marketplaceid}/{paymentsprogramtype} | Note: This method is no longer applicable, as all seller accounts globally have been enabled for the new eBay payment and checkout flow.This method returns whether or not the user is opted-in to the specified payments program. Sellers opt-in to payments programs by marketplace and you use the marketplaceid path parameter to specify the marketplace of the status flag you want returned. |
| GET |
/paymentsprogram/{marketplaceid}/{paymentsprogramtype}/onboarding | Note: This method is no longer applicable, as all seller accounts globally have been enabled for the new eBay payment and checkout flow.This method retrieves a seller's onboarding status for a payments program for a specified marketplace. The overall onboarding status of the seller and the status of each onboarding step is returned. |
privilege
| Method | Path | Description |
|---|
| GET | /privilege | This method retrieves the seller's current set of privileges, including whether or not the seller's eBay registration has been completed, as well as the details of their site-wide sellingLimt (the amount and quantity they can sell on a given day). |
program
| Method | Path | Description |
|---|
| GET | /program/getoptedinprograms | This method gets a list of the seller programs that the seller has opted-in to. |
| POST |
/program/optin | 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 status of your request after the processing period has passed. |
| POST | /program/opt_out | 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. |
ratetable| Method | Path | Description |
|---|
| GET | /ratetable | This method retrieves a seller's shipping rate tables for the country specified in the countrycode query parameter. If you call this method without specifying a country code, the call returns all of the seller's shipping rate tables. The method's response includes a rateTableId for each table defined by the seller. This rateTableId value is used in add/revise item call or in create/update fulfillment business policy call to specify the shipping rate table to use for that policy's domestic or international shipping options. This call currently supports getting rate tables related to the following marketplaces:EBAYAU EBAYCA EBAYDE EBAYES EBAYFR EBAYGB EBAYIT EBAYUS Note: Rate tables created with the Trading API might not have been assigned a rateTableId at the time of their creation. This method can assign and return rateTableId values for rate tables with missing IDs if you make a request using the countrycode where the seller has defined rate tables. Sellers can define up to 40 shipping rate tables for their account, which lets them set up different rate tables for each of the marketplaces they sell into. Go to Shipping rate tables in My eBay to create and update rate tables. |
returnpolicy| Method | Path | Description |
|---|
| GET | /returnpolicy | This method retrieves all the return policies configured for the marketplace you specify using the marketplaceid query parameter. Marketplaces and locales Get the correct policies for a marketplace that supports multiple locales using the Content-Language request header. For example, get the policies for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers. |
| POST |
/returnpolicy | This method creates a new return policy where the policy encapsulates seller's terms for returning items. Each policy targets a specific marketplace, and you can create multiple policies for each marketplace. Return policies are not applicable to motor-vehicle listings.A successful request returns the getReturnPolicy URI to the new policy in the Location response header and the ID for the new policy is returned in the response payload. Tip: For details on creating and using the business policies supported by the Account API, see eBay business policies. |
| GET | /return
policy/{returnpolicy_id} | This method retrieves the complete details of the return policy specified by the returnPolicyId path parameter. |
| PUT | /return
policy/{returnpolicy
id} | This method updates an existing return policy. Specify the policy you want to update using the returnpolicy_id path parameter. Supply a complete policy payload with the updates you want to make; this call overwrites the existing policy with the new details specified in the payload. |
| DELETE | /return
policy/{returnpolicy_id} | This method deletes a return policy. Supply the ID of the policy you want to delete in the returnPolicyId path parameter. |
| GET | /return
policy/getby
policyname | This method retrieves the details of a specific return policy. Supply both the policy name and its associated marketplace_id in the request query parameters. Marketplaces and locales Get the correct policy for a marketplace that supports multiple locales using the Content-Language request header. For example, get a policy for the French locale of the Canadian marketplace by specifying fr-CA for the Content-Language header. Likewise, target the Dutch locale of the Belgium marketplace by setting Content-Language: nl-BE. For details on header values, see HTTP request headers. |
salestax| Method | Path | Description |
|---|
| GET | /salestax/{countryCode}/{jurisdictionId} | This call retrieves the current sales-tax table entry for a specific tax jurisdiction. Specify the jurisdiction to retrieve using the countryCode and jurisdictionId path parameters. All four response fields will be returned if a sales-tax entry exists for the tax jurisdiction. Otherwise, the response will be returned as empty.Note: Sales-tax tables are only available for the US (EBAYUS) and Canada (EBAYCA) marketplaces.Important! ">Important! In the US, eBay now calculates, collects, and remits sales tax to the proper taxing authorities in all 50 states and Washington, DC. Sellers can no longer specify sales-tax rates for these jurisdictions using a tax table.However, sellers may continue to use a sales-tax table to set rates for the following US territories:American Samoa (AS)Guam (GU)Northern Mariana Islands (MP)Palau (PW)US Virgin Islands (VI)For additional information, refer to Taxes and import charges. |
| PUT |
/salestax/{countryCode}/{jurisdictionId} | This method creates or updates a sales-tax table entry for a jurisdiction. Specify the tax table entry you want to configure using the two path parameters: countryCode and jurisdictionId. A tax table entry for a jurisdiction is comprised of two fields: one for the jurisdiction's sales-tax rate and another that's a boolean value indicating whether or not shipping and handling are taxed in the jurisdiction.You can set up sales-tax tables for countries that support different tax jurisdictions.Note: Sales-tax tables are only available for the US (EBAYUS) and Canada (EBAY_CA) marketplaces.Retrieve valid jurisdiction IDs using getSalesTaxJurisdictions in the Metadata API.For details about using this call, refer to Establishing sales-tax tables.Important! ">Important! In the US, eBay now calculates, collects, and remits sales tax to the proper taxing authorities in all 50 states and Washington, DC. Sellers can no longer specify sales-tax rates for these jurisdictions using a tax table.However, sellers may continue to use a sales-tax table to set rates for the following US territories:American Samoa (AS)Guam (GU)Northern Mariana Islands (MP)Palau (PW)US Virgin Islands (VI)For additional information, refer to Taxes and import charges. |
| DELETE | /sales
tax/{countryCode}/{jurisdictionId} | This call deletes a sales-tax table entry for a jurisdiction. Specify the jurisdiction to delete using the countryCode and jurisdictionId path parameters.Note: Sales-tax tables are only available for the US (EBAYUS) and Canada (EBAY_CA) marketplaces. |
| GET | /sales
tax | Use this call to retrieve all sales tax table entries that the seller has defined for a specific country. All four response fields will be returned for each tax jurisdiction that matches the search criteria. Note: Sales-tax tables are only available for the US (EBAYUS) and Canada (EBAY_CA) marketplaces.Important! ">Important! In the US, eBay now calculates, collects, and remits sales tax to the proper taxing authorities in all 50 states and Washington, DC. Sellers can no longer specify sales-tax rates for these jurisdictions using a tax table.However, sellers may continue to use a sales-tax table to set rates for the following US territories:American Samoa (AS)Guam (GU)Northern Mariana Islands (MP)Palau (PW)US Virgin Islands (VI)For additional information, refer to Taxes and import charges. |
subscription
| Method | Path | Description |
|---|
| GET | /subscription | This method retrieves a list of subscriptions associated with the seller account. |
kyc
| Method | Path | Description |
|---|
| GET | /kyc | Note:This method was originally created to see which onboarding requirements were still pending for sellers being onboarded for eBay managed payments, but now that all seller accounts are onboarded globally, this method should now just returne an empty payload with a 204 No Content HTTP status code. |
advertisingeligibility| Method | Path | Description |
|---|
| GET | /advertisingeligibility | This method allows developers to check the seller eligibility status for eBay advertising programs. |
Common Questions
Match user requests to endpoints in references/api-spec.lap. Key patterns:
- - "List all custompolicy?" -> GET /custompolicy/
- "Create a custompolicy?" -> POST /custompolicy/
- "Get custompolicy details?" -> GET /custompolicy/{custompolicyid}
- "Update a custompolicy?" -> PUT /custompolicy/{custompolicyid}
- "Create a fulfillmentpolicy?" -> POST /fulfillmentpolicy/
- "Get fulfillmentpolicy details?" -> GET /fulfillmentpolicy/{fulfillmentPolicyId}
- "Update a fulfillmentpolicy?" -> PUT /fulfillmentpolicy/{fulfillmentPolicyId}
- "Delete a fulfillmentpolicy?" -> DELETE /fulfillmentpolicy/{fulfillmentPolicyId}
- "List all fulfillmentpolicy?" -> GET /fulfillmentpolicy
- "List all getbypolicyname?" -> GET /fulfillmentpolicy/getbypolicyname
- "List all paymentpolicy?" -> GET /paymentpolicy
- "Create a paymentpolicy?" -> POST /paymentpolicy
- "Get paymentpolicy details?" -> GET /paymentpolicy/{paymentpolicyid}
- "Update a paymentpolicy?" -> PUT /paymentpolicy/{paymentpolicyid}
- "Delete a paymentpolicy?" -> DELETE /paymentpolicy/{paymentpolicyid}
- "List all getbypolicyname?" -> GET /paymentpolicy/getbypolicyname
- "Get paymentsprogram details?" -> GET /paymentsprogram/{marketplaceid}/{paymentsprogramtype}
- "List all onboarding?" -> GET /paymentsprogram/{marketplaceid}/{paymentsprogramtype}/onboarding
- "List all privilege?" -> GET /privilege
- "List all getoptedinprograms?" -> GET /program/getoptedinprograms
- "Create a optin?" -> POST /program/optin
- "Create a optout?" -> POST /program/optout
- "List all ratetable?" -> GET /ratetable
- "List all returnpolicy?" -> GET /returnpolicy
- "Create a returnpolicy?" -> POST /returnpolicy
- "Get returnpolicy details?" -> GET /returnpolicy/{returnpolicyid}
- "Update a returnpolicy?" -> PUT /returnpolicy/{returnpolicyid}
- "Delete a returnpolicy?" -> DELETE /returnpolicy/{returnpolicyid}
- "List all getbypolicyname?" -> GET /returnpolicy/getbypolicyname
- "Get salestax details?" -> GET /salestax/{countryCode}/{jurisdictionId}
- "Update a salestax?" -> PUT /salestax/{countryCode}/{jurisdictionId}
- "Delete a salestax?" -> DELETE /salestax/{countryCode}/{jurisdictionId}
- "List all salestax?" -> GET /salestax
- "List all subscription?" -> GET /subscription
- "List all kyc?" -> GET /kyc
- "List all advertisingeligibility?" -> GET /advertisingeligibility
- "How to authenticate?" -> See Auth section
Response Tips
- - Check response schemas in references/api-spec.lap for field details
- List endpoints may support pagination; check for limit, offset, or cursor params
- Create/update endpoints typically return the created/updated object
CLI
CODEBLOCK0
References
- - Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas
Generated from the official API spec by LAP
技能名称: lap-account-api
详细描述:
账户API
API版本: v1.9.2
认证
OAuth2
基础URL
https://api.ebay.com/sell/account/v1
设置
- 1. 配置认证:OAuth2
- GET /custompolicy/ -- 验证访问权限
- POST /custompolicy/ -- 创建第一个自定义政策
端点
12个分组共36个端点。详见 references/api-spec.lap。
自定义政策
| 方法 | 路径 | 描述 |
|---|
| GET | /custompolicy/ | 此方法检索由 policytypes 查询参数指定的自定义政策列表。注意:自定义政策不再与特定的eBay市场关联,因此 EBAY-C-MARKETPLACE-ID 请求头对于任何自定义政策方法不再需要或相关。 |
| POST |
/custom
policy/ | 此方法创建一个新的自定义政策,卖家在其中规定其遵守当地政府法规的条款。支持两种自定义政策类型:产品合规 (PRODUCTCOMPLIANCE) 和 回收 (TAKE_BACK)。每个自定义政策针对一个 policyType。可按如下方式创建多个政策:产品合规:每个卖家最多可创建60个政策;回收:每个卖家最多可创建18个政策。成功的创建政策调用返回HTTP状态码201 Created,并在Location响应头中包含系统生成的策略ID。产品合规政策披露产品信息以满足法规合规要求。注意:每个卖家最多可创建60个产品合规政策。回收政策描述卖家在买家购买新产品时回收之前购买物品的法律义务。注意:每个卖家最多可创建18个回收政策。注意:自定义政策不再与特定的eBay市场关联,因此 EBAY-C-MARKETPLACE-ID 请求头对于任何自定义政策方法不再需要或相关。 |
| GET | /custom
policy/{custompolicy
id} | 此方法检索由 custompolicy_id 路径参数指定的自定义政策。注意:自定义政策不再与特定的eBay市场关联,因此 EBAY-C-MARKETPLACE-ID 请求头对于任何自定义政策方法不再需要或相关。 |
| PUT | /custom
policy/{custompolicy
id} | 此方法更新由 custompolicy_id 路径参数指定的现有自定义政策。此方法会覆盖政策的名称、标签和描述字段。因此,即使其中一个或两个字段实际上不会更新,请求负载中也必须包含所有三个政策字段的完整当前文本。例如,标签字段的值需要更新,但名称和描述值保持不变。当前政策中定义的现有名称和描述值也必须传入。成功的政策更新调用返回HTTP状态码204 No Content。注意:自定义政策不再与特定的eBay市场关联,因此 EBAY-C-MARKETPLACE-ID 请求头对于任何自定义政策方法不再需要或相关。 |
履行政策
| 方法 | 路径 | 描述 |
|---|
| POST | /fulfillmentpolicy/ | 此方法创建一个新的履行政策,其中政策封装了卖家履行物品购买的条款。履行政策包括卖家向买家提供的运输选项。每个政策针对特定的eBay市场和类别组类型,您可以为每个组合创建多个政策。成功的请求在Location响应头中返回新政策的getFulfillmentPolicy URI,并在响应负载中返回新政策的ID。提示:有关创建和使用Account API支持的业务政策的详细信息,请参阅eBay业务政策。使用eBay标准信封服务(eSE) eBay标准信封服务(eSE)是一种通过eBay提供跟踪的国内信封服务。此服务适用于特定的交易卡子类别,以及硬币和纸币、明信片、邮票、徽章等类似符合条件的类别,并且仅在美国市场上可用。要使用此服务,请使用USPS邮件发送信封,并将shippingServiceCode字段设置为USeBayStandardEnvelope。有关详细信息,请参阅使用eBay标准信封(eSE)服务。有关其他详细信息、限制和信封尺寸模板,请参阅eBay标准信封。 |
| GET |
/fulfillment_policy/{fulfillmentPolicyId} | 此方法检索履行政策的完整详细信息。使用 fulfillmentPolicyId 路径参数提供要检索的政策的ID。 |
| PUT | /fulfillment
policy/{fulfillmentPolicyId} | 此方法更新现有的履行政策。使用 fulfillmentpolicy_id 路径参数指定要更新的政策。提供包含所需更新的完整政策负载;此调用将使用负载中指定的新详细信息覆盖现有政策。 |
| DELETE | /fulfillment_policy/{fulfillmentPolicyId} | 此方法删除履行政策。在 fulfillmentPolicyId 路径参数中提供要删除的政策的ID。 |
| GET | /fulfillment
policy | 此方法检索为您使用 marketplaceid 查询参数指定的市场配置的所有履行政策。市场和区域设置 使用 Content-Language 请求头获取支持多种区域设置的市场的正确政策。例如,通过指定 Content-Language 头为 fr-CA 来获取加拿大市场法语区域的政策。同样,通过设置 Content-Language: nl-BE 来定位比利时市场的荷兰语区域。有关头值的详细信息,请参阅HTTP请求头。 |
| GET | /fulfillment
policy/getby
policyname | 此方法检索特定履行政策的详细信息。在请求中,将政策名称及其关联的 marketplace_id 作为查询参数提供。市场和区域设置 使用 Content-Language 请求头获取支持多种区域设置的市场的正确政策。例如,通过指定 Content-Language 头为 fr-CA 来获取加拿大市场法语区域的政策。同样,通过设置 Content-Language: nl-BE 来定位比利时市场的荷兰语区域。有关头值的详细信息,请参阅HTTP请求头。 |
支付政策
| 方法 | 路径 | 描述 |
|---|
| GET | /paymentpolicy | 此方法检索为您使用 marketplaceid 查询参数指定的市场配置的所有支付政策。市场和区域设置 使用 Content-Language 请求头获取支持多种区域设置的市场的正确政策。例如,通过指定 Content-Language 头为 fr-CA 来获取加拿大市场法语区域的政策。同样,通过设置 Content-Language: nl-BE 来定位比利时市场的荷兰语区域。有关头值的详细信息,请参阅HTTP请求头。 |
| POST |
/payment_policy | 此方法创建一个新的支付政策,其中政策封装了卖家关于订单支付的条款。每个政策针对特定的eBay市场和类别组,您可以为每个组合创建多个政策。成功的请求在Location响应头中返回新政策的getPaymentPolicy URI,并在响应负载中返回新政策的ID。提示:有关创建和使用Account API支持的业务政策的详细信息,请参阅eBay业务政策。 |
| GET | /payment
policy/{paymentpolicy_id} | 此方法检索支付政策的完整详细信息。使用 paymentPolicyId 路径参数提供要检索的政策的ID。 |
| PUT | /payment
policy/{paymentpolicy
id} | 此方法更新现有的支付政策。使用 paymentpolicy_id 路径参数指定要更新的政策。提供包含所需更新的完整政策负载;此调用将使用负载中指定的新详细信息覆盖现有政策。 |
| DELETE | /payment
policy/{paymentpolicy_id} | 此方法删除支付政策。在 paymentPolicyId 路径参数中提供要删除的政策的ID。 |
| GET | /payment
policy/getby
policyname | 此方法检索特定支付政策的详细信息。在请求查询参数中提供政策名称及其关联的 marketplace_id。市场和区域设置 使用 Content-Language 请求头获取支持多种区域设置的市场的正确政策。例如,通过指定 Content-Language 头为 fr-CA 来获取加拿大市场法语区域的政策。同样,通过设置 Content-Language: nl-BE 来定位比利时市场的荷兰语区域。有关头值的详细信息,请参阅HTTP请求头。 |
支付计划
| 方法 | 路径 | 描述 |
|---|
| GET | /paymentsprogram/{marketplaceid}/{paymentsprogramtype} | 注意:此方法不再适用,因为全球所有卖家账户都已启用新的eBay支付和结账流程。此方法返回用户是否已选择加入指定的支付计划。卖家按市场选择加入支付计划,您使用 marketplaceid 路径参数指定要返回状态标志的市场。 |
| GET |
/paymentsprogram/{marketplace
id}/{paymentsprogram_type}/onboarding | 注意:此方法不再适用,因为全球所有卖家账户都已启用新的eBay支付和结账流程。此方法检索卖家在指定市场的支付计划的入驻状态。返回卖家的整体入驻状态以及每个入驻步骤的状态。 |
权限
| 方法 | 路径 | 描述 |
|---|
| GET | /privilege | 此方法检索卖家当前的权限集,包括卖家的eBay注册是否已完成,以及其全站销售限制的详细信息(他们在给定日期可以销售的数量和金额)。 |
计划
| 方法 | 路径 | 描述 |
|---|
| GET | /program/getoptedinprograms | 此方法获取卖家已选择加入的卖家计划列表。 |
| POST |
/program/optin | 此方法使卖家选择加入eBay卖家计划。有关可用eBay卖家计划的信息,请参阅Account API概述。注意:eBay处理您的选择加入卖家计划的请求可能需要长达