Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@datafire/ebay_buy_deal
Advanced tools
Client library for Deal API
npm install --save @datafire/ebay_buy_deal
let ebay_buy_deal = require('@datafire/ebay_buy_deal').create({
access_token: "",
refresh_token: "",
client_id: "",
client_secret: "",
redirect_uri: ""
});
.then(data => {
console.log(data);
});
This API allows third-party developers to search for and retrieve details about eBay deals and events, as well as the items associated with those deals and events.
Exchange the code passed to your redirect URI for an access_token
ebay_buy_deal.oauthCallback({
"code": ""
}, context)
object
string
object
string
string
string
string
string
Exchange a refresh_token for an access_token
ebay_buy_deal.oauthRefresh(null, context)
This action has no parameters
object
string
string
string
string
string
This method retrieves a paginated set of deal items. The result set contains all deal items associated with the specified search criteria and marketplace ID. Request headers This method uses the X-EBAY-C-ENDUSERCTX request header to support revenue sharing for eBay Partner Networks and to improve the accuracy of shipping and delivery time estimations. For details see, Request headers in the Buying Integration Guide. Restrictions This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see API Restrictions. eBay Partner Network: In order to receive a commission for your sales, you must use the URL returned in the itemAffiliateWebUrl field to forward your buyer to the ebay.com site.
ebay_buy_deal.getDealItems({
"X-EBAY-C-MARKETPLACE-ID": ""
}, context)
object
string
: The unique identifier of the eBay category for the search.string
: A filter for commissionable deals. Restriction: This filter is currently only supported for the US marketplace.string
: A filter for items that can be shipped to the specified country.string
: The maximum number of items, from the current result set, returned on a single page.string
: The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned. Default: 0string
: A header used to specify the eBay marketplace ID.This method returns paginated results containing all eBay events for the specified marketplace. Request headers This method uses the X-EBAY-C-ENDUSERCTX request header to support revenue sharing for eBay Partner Networks and to improve the accuracy of shipping and delivery time estimations. For details see, Request headers in the Buying Integration Guide. Restrictions This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see API Restrictions. eBay Partner Network: In order to receive a commission for your sales, you must use the URL returned in the itemAffiliateWebUrl field to forward your buyer to the ebay.com site.
ebay_buy_deal.getEvents({
"X-EBAY-C-MARKETPLACE-ID": ""
}, context)
object
string
: The maximum number of items, from the current result set, returned on a single page. Default: 20 Maximum Value: 100string
: The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned. Default: 0string
: A header used to specify the eBay marketplace ID.This method retrieves the details for an eBay event. The result set contains detailed information associated with the specified event ID, such as applicable coupons, start and end dates, and event terms. Request headers This method uses the X-EBAY-C-ENDUSERCTX request header to support revenue sharing for eBay Partner Networks and to improve the accuracy of shipping and delivery time estimations. For details see, Request headers in the Buying Integration Guide. Restrictions This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see API Restrictions. eBay Partner Network: In order to receive a commission for your sales, you must use the URL returned in the itemAffiliateWebUrl field to forward your buyer to the ebay.com site.
ebay_buy_deal.getEvent({
"X-EBAY-C-MARKETPLACE-ID": "",
"event_id": ""
}, context)
object
string
: A header used to specify the eBay marketplace ID.string
: The unique identifier for the eBay event.This method returns a paginated set of event items. The result set contains all event items associated with the specified search criteria and marketplace ID. Request headers This method uses the X-EBAY-C-ENDUSERCTX request header to support revenue sharing for eBay Partner Networks and to improve the accuracy of shipping and delivery time estimations. For details see, Request headers in the Buying Integration Guide. Restrictions This method can return a maximum of 10,000 items. For a list of supported sites and other restrictions, see API Restrictions. eBay Partner Network: In order to receive a commission for your sales, you must use the URL returned in the itemAffiliateWebUrl field to forward your buyer to the ebay.com site.
ebay_buy_deal.getEventItems({
"event_ids": "",
"X-EBAY-C-MARKETPLACE-ID": ""
}, context)
object
string
: The unique identifier of the eBay category for the search. Maximum Value: 1string
: A filter for items that can be shipped to the specified country.string
: The unique identifiers for the eBay events. Maximum Value: 1string
: The maximum number of items, from the current result set, returned on a single page. Default: 20string
: The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned. Default: 0string
: A header used to specify the eBay marketplace ID.object
: The currency and value of the item.
string
: The three-letter ISO 4217 code representing the currency of the amount in the value field. Default: The currency of the authenticated user's country. For implementation help, refer to eBay API documentationstring
: The monetary value, in the currency specified by the currency field.object
: The details for the coupon available for the item.
string
: The coupon code.object
: The detailed data returned for the deal item.
array
: The additional images for the deal item.
array
: The IDs of the ancestors for the primary category.
string
string
: The ID of the leaf category for the deal item. A leaf category is the lowest level in a category and has no children.boolean
: A boolean value specifying whether the listing has commission.string
: The deal associated with the item with affiliate attribution.string
: The date after which the deal ends.string
: The date on which the deal starts.string
: The web URL for the deal associated with the item.string
: A string value specifying the Energy Efficiency class.string
: The item web URL with affiliate attribution.string
: The unique identifier for the deal item group. This is the parent item ID for the seller-defined variations. Note: This field is returned for multiple-SKU items.string
: An enumeration value that indicates the type of item group. An item group contains items that have various aspect differences, such as color, size, or storage capacity. For implementation help, refer to eBay API documentationstring
: The unique identifier for the deal item. Note: This field is only returned for single-SKU items.string
: The web URL for the deal item.string
: The legacy item ID associated with the deal item.array
: A list of programs applicable to the item.
string
: For implementation help, refer to eBay API documentationarray
: The cost required to ship the deal item.
string
: The title of the deal item.string
: The designation used to specify the quantity of the deal item, such as size, weight, volume, and count. This helps buyers compare prices. For example, the following tells the buyer that the item is 7.99 per 100 grams. "unitPricingMeasure": "100g", "unitPrice": { "value": "7.99", "currency": "GBP"object
: The result set for the deal item search.
array
: A list of deal items that match the search criteria.
string
: The relative path to the current set of results.integer
: The maximum number of items, from the current result set, returned on a single page. Default: 20string
: The relative path to the next set of results.integer
: The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned. Default: 0string
: The relative path to the previous set of results.integer
: The total number of matches for the search criteria.object
: This type defines the fields that can be returned in an error.
array
: An array of name/value pairs that describe details the error condition. These are useful when multiple errors are returned.
string
: Identifies the type of erro.string
: Name for the primary system where the error occurred. This is relevant for application errors.integer
: A unique number to identify the error.array
: An array of request elements most closely associated to the error.
string
string
: A more detailed explanation of the error.string
: Information on how to correct the problem, in the end user's terms and language where applicable.array
: An array of request elements most closely associated to the error.
string
string
: Further helps indicate which subsystem the error is coming from. System subcategories include: Initialization, Serialization, Security, Monitoring, Rate Limiting, etc.object
string
: The object of the error.string
: The value of the object.object
: The result set for the event search.
array
: A list of coupons associated with the event.
string
: The event description.string
: The end date for the event.string
: The URL of the View Event page for the event, which includes the affiliate tracking ID.string
: The unique identifier for the event.string
: The web URL for the event.array
: The images for the event.
string
: The start date for the event.string
: The title of the event.object
: The detailed data returned for the event item.
array
: The additional images for the event item.
array
: The IDs of the ancestors for the primary category.
string
string
: The ID of the leaf category for the event item. A leaf category is the lowest level in a category and has no children.string
: A string value specifying the Energy Efficiency class.string
: The unique event identifier associated with the item.string
: The item web URL with affiliate attribution.string
: The unique identifier for the event item group. This is the parent item ID for the seller-defined variations. Note: This field is returned for multiple-SKU items.string
: An enumeration value that indicates the type of item group. An item group contains items that have various aspect differences, such as color, size, or storage capacity. For implementation help, refer to eBay API documentationstring
: The unique identifier for the event item. Note: This field is only returned for single-SKU items.string
: The web URL for the event item.string
: The legacy item ID associated with the event item.array
: A list of programs applicable to the event item.
string
: For implementation help, refer to eBay API documentationarray
: The cost required to ship the event item.
string
: The title of the event item.string
: The designation used to specify the quantity of the event item, such as size, weight, volume, and count. This helps buyers compare prices. For example, the following tells the buyer that the item is 7.99 per 100 grams. "unitPricingMeasure": "100g", "unitPrice": { "value": "7.99", "currency": "GBP"object
: The result set for the event item search.
array
: A list of event items that match the search criteria.
string
: The relative path to the current set of results.integer
: The maximum number of items, from the current result set, returned on a single page. Default: 20string
: The relative path to the next set of results.integer
: The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned. Default: 0string
: The relative path to the previous set of results.integer
: The total number of matches for the specified search criteria.object
: The result set for the specified event search criteria.
array
: A list of results that match the search criteria.
string
: The relative path to the current set of results.integer
: The maximum number of items, from the current result set, returned on a single page. Default: 20string
: The relative path to the next set of results.integer
: The number of items that will be skipped in the result set. This is used with the limit field to control the pagination of the output. For example, if the offset is set to 0 and the limit is set to 10, the method will retrieve items 1 through 10 from the list of items returned. If the offset is set to 10 and the limit is set to 10, the method will retrieve items 11 through 20 from the list of items returned. Default: 0string
: The relative path to the previous set of results.integer
: The total number of matches for the specified search criteria.object
: The type that defines the details of an image, such as size and URL.
string
: The height of the image.string
: The relative path to the image location.string
: The text associated with the image.string
: The width of the image.object
: A type that describes the seller discount.
string
: The percentage of the seller discount based on the value returned in the originalPrice field.string
: The pricing treatment (discount) that was applied to the price of the item. Note: The pricing treatment affects how and where the discounted price can be displayed. For implementation help, refer to eBay API documentationobject
: The details provided for the shipping provider, such as shipping cost and type.
string
: The class of the shipping cost. Valid Values: FIXED or CALCULATED Code so that your app gracefully handles any future changes to this list.object
: The terms for the event, provided in a full-text description and summary.
string
: A full-text description of the terms.string
: A summarized description of the terms.FAQs
DataFire integration for Deal API
The npm package @datafire/ebay_buy_deal receives a total of 0 weekly downloads. As such, @datafire/ebay_buy_deal popularity was classified as not popular.
We found that @datafire/ebay_buy_deal demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.