POST /custom_policy/
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 (PRODUCT_COMPLIANCE)
- Takeback (TAKE_BACK)
- Product Compliance: a maximum of 10 policies per eBay marketplace may be created
- Takeback: a maximum of 3 policies per eBay marketplace may be created
Product Compliance Policy
Product Compliance policies disclose product information as required for regulatory compliance.
Note: A maximum of 10 Product Compliance policies per eBay marketplace may be created.
Takeback Policy
Takeback 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 3 Takeback policies per eBay marketplace may be created.
Servers
- https://api.ebay.com{basePath}
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
X-EBAY-C-MARKETPLACE-ID |
String | Yes |
This header parameter specifies the eBay marketplace for the custom policy that is being created. Supported values for this header can be found in the MarketplaceIdEnum type definition.
|
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
name |
String | No |
The seller-defined name for the custom policy. Names must be unique for policies assigned to the same seller, policy type, and eBay marketplace. |
description |
String | No |
Details of the seller's specific policy and terms for this policy. |
label |
String | No |
Customer-facing label shown on View Item pages for items to which the policy applies. This seller-defined string is displayed as a system-generated hyperlink pointing to detailed policy information. |
policyType |
String | No |
Specifies the type of custom policy being created.
|
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.