07-03-2024 11:57 PM
In my program, I use the REST API to fetch information about orders and products. However, I found that the REST API does not return information for a custom-specified product SKU (btw: is there any way to make it return this information?).
To achieve this, I use the method: https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/GetItem.html, which returns this information (https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/types/SKUType.html).
The problem is that this method returns an error when called:
Error 518: Call usage limit has been reached. - Your application has exceeded usage limit on this call, please make a call to Developer Analytics API to check your call usage.
Checking here: https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/Errors/errormessages.htm#518, this error code indicates:
Long error: Your application has exceeded usage limit on this call, please make a call to GetAPIAccessRules to check your call usage.
This suggests using the "GetAPIAccessRules" method. However, I do not see it listed in the available methods: https://developer.ebay.com/Devzone/XML/docs/Reference/eBay/alphaindex.html
I would like to know:
07-08-2024 02:17 PM
Hi @uts_group,
You can use the Sell Feed API to get the Active Inventory Report for the seller. Active Inventory Report contains information like price, quantity and SKU values for all of the active listings for a specific seller. A seller can use this information to maintain their inventory on eBay.
Overview of active inventory report flow: https://developer.ebay.com/api-docs/sell/static/feed/merchant-data-downloadable-reports-flow.html#ac...
You can submit a "Application Growth Check" request to increase the API call limits for your application when your application is close to hit the daily API limit. The application growth check is a free service that the eBay Developers Program provides to its members.
Note: To check your daily API usage you can use getRateLimits call of Developer’s Analytics API.
07-09-2024 05:31 AM
Thank you for the response.
It seems to me that using this method won't fully solve my problem yet. I see that this method returns information about the order (based on an example file from the documentation for the indicated method: https://developer.ebay.com/devzone/merchant-data/callref/samples/activeinventoryreport_basic_out_xml...😞
<Order>
<OrderID>2*-0***1-1***7</OrderID>
<OrderStatus>Completed</OrderStatus>
<AdjustmentAmount currencyID="USD">0.0</AdjustmentAmount>
<AmountPaid currencyID="USD">91.0</AmountPaid>
<AmountSaved currencyID="USD">0.0</AmountSaved>
<CheckoutStatus>
<eBayPaymentStatus>NoPaymentFailure</eBayPaymentStatus>
<LastModifiedTime>2023-03-13T12:59:06.543Z</LastModifiedTime>
<PaymentMethod>CreditCard</PaymentMethod>
<Status>Complete</Status>
<IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
<PaymentInstrument>CreditCard</PaymentInstrument>
</CheckoutStatus>
<ShippingDetails>
<SalesTax>
<SalesTaxPercent>0.0</SalesTaxPercent>
<ShippingIncludedInTax>false</ShippingIncludedInTax>
<SalesTaxAmount currencyID="USD">0.0</SalesTaxAmount>
</SalesTax>
<ShippingServiceOptions>
<ShippingService>Pickup</ShippingService>
<ShippingServicePriority>1</ShippingServicePriority>
<ExpeditedService>false</ExpeditedService>
</ShippingServiceOptions>
<SellingManagerSalesRecordNumber>602</SellingManagerSalesRecordNumber>
<GetItFast>false</GetItFast>
</ShippingDetails>
<CreatedTime>2023-03-13T12:59:06.543Z</CreatedTime>
<ShippingAddress>
<Name>e******* b****</Name>
<Street1>2*** H******* a**</Street1>
<Street2>b******* *</Street2>
<CityName>S** J***</CityName>
<StateOrProvince>CA</StateOrProvince>
<Country>US</Country>
<CountryName>United States</CountryName>
<Phone>4********0</Phone>
<PostalCode>9****-****</PostalCode>
<AddressID>1************9</AddressID>
<AddressOwner>e***</AddressOwner>
</ShippingAddress>
<ShippingServiceSelected>
<ShippingService>Pickup</ShippingService>
<ShippingServiceCost currencyID="USD">0.0</ShippingServiceCost>
</ShippingServiceSelected>
<Subtotal currencyID="USD">91.0</Subtotal>
<Total currencyID="USD">91.0</Total>
<ExternalTransaction>
<ExternalTransactionID>5**********1</ExternalTransactionID>
<ExternalTransactionTime>2023-03-13T13:02:27.543Z</ExternalTransactionTime>
<FeeOrCreditAmount currencyID="USD">0.0</FeeOrCreditAmount>
<PaymentOrRefundAmount currencyID="USD">91.0</PaymentOrRefundAmount>
<ExternalTransactionStatus>Succeeded</ExternalTransactionStatus>
</ExternalTransaction>
<eBayCollectAndRemitTax>false</eBayCollectAndRemitTax>
<TransactionArray>
<Transaction>
<Buyer>
<Email>0*******************@m**************.com</Email>
<VATStatus>NoVATTax</VATStatus>
<UserFirstName>I****************r</UserFirstName>
<UserLastName>B***r</UserLastName>
</Buyer>
<ShippingDetails>
<SalesTax>
<SalesTaxPercent>0.0</SalesTaxPercent>
</SalesTax>
<SellingManagerSalesRecordNumber>602</SellingManagerSalesRecordNumber>
</ShippingDetails>
<CreatedDate>2023-03-13T12:59:06.543Z</CreatedDate>
<Item>
<ItemID>1**********6</ItemID>
<Site>eBayMotors</Site>
<Title>Tires Intallation Category_************_US</Title>
<ConditionID>1000</ConditionID>
<ConditionDisplayName>New</ConditionDisplayName>
</Item>
<QuantityPurchased>1</QuantityPurchased>
<Status>
<PaymentHoldStatus>None</PaymentHoldStatus>
<InquiryStatus>NotApplicable</InquiryStatus>
<ReturnStatus>NotApplicable</ReturnStatus>
</Status>
<TransactionID>1*********2</TransactionID>
<TransactionPrice currencyID="USD">91.0</TransactionPrice>
<eBayCollectAndRemitTax>false</eBayCollectAndRemitTax>
<FinalValueFee currencyID="USD">8.78</FinalValueFee>
<TransactionSiteID>US</TransactionSiteID>
<Platform>eBay</Platform>
<Taxes>
<TotalTaxAmount currencyID="USD">0.0</TotalTaxAmount>
<TaxDetails>
<Imposition>SalesTax</Imposition>
<TaxDescription>SalesTax</TaxDescription>
<TaxAmount currencyID="USD">0.0</TaxAmount>
<TaxOnSubtotalAmount currencyID="USD">0.0</TaxOnSubtotalAmount>
<TaxOnShippingAmount currencyID="USD">0.0</TaxOnShippingAmount>
<TaxOnHandlingAmount currencyID="USD">0.0</TaxOnHandlingAmount>
</TaxDetails>
</Taxes>
<ActualShippingCost currencyID="USD">0.0</ActualShippingCost>
<ActualHandlingCost currencyID="USD">0.0</ActualHandlingCost>
<OrderLineItemID>1***********-1*********2</OrderLineItemID>
<InventoryReservationID>1*********2</InventoryReservationID>
<ExtendedOrderID>2*-0***1-1***7</ExtendedOrderID>
<eBayPlusTransaction>false</eBayPlusTransaction>
<GuaranteedShipping>false</GuaranteedShipping>
<GuaranteedDelivery>false</GuaranteedDelivery>
<LinkedLineItemArray>
<LinkedLineItem>
<OrderID>27-0***1-1***6</OrderID>
<OrderLineItemID>1**********4--1</OrderLineItemID>
<SellerUserID>1********3</SellerUserID>
<EstimatedDeliveryTimeMin>2023-03-16T07:00:00.544Z</EstimatedDeliveryTimeMin>
<EstimatedDeliveryTimeMax>2023-03-18T07:00:00.544Z</EstimatedDeliveryTimeMax>
<Item>
<Title>Dev Tire Installation Bin</Title>
<ItemSpecifics>
<NameValueList>
<Name>Manufacturer Part Number</Name>
<Value>Does Not Apply</Value>
</NameValueList>
<NameValueList>
<Name>Tire Type</Name>
<Value>All Season</Value>
</NameValueList>
<NameValueList>
<Name>Overall Diameter</Name>
<Value>20</Value>
</NameValueList>
<NameValueList>
<Name>UPC</Name>
<Value>Does not apply</Value>
</NameValueList>
<NameValueList>
<Name>Quantity</Name>
<Value>4</Value>
</NameValueList>
<NameValueList>
<Name>Section Width</Name>
<Value>8</Value>
</NameValueList>
<NameValueList>
<Name>Rim Diameter</Name>
<Value>14</Value>
</NameValueList>
<NameValueList>
<Name>Aspect Ratio</Name>
<Value>30</Value>
</NameValueList>
<NameValueList>
<Name>Brand</Name>
<Value>American</Value>
</NameValueList>
<NameValueList>
<Name>Load Index</Name>
<Value>63</Value>
</NameValueList>
<NameValueList>
<Name>Car Type</Name>
<Value>Passenger/Performance</Value>
</NameValueList>
<NameValueList>
<Name>Speed Index</Name>
<Value>J</Value>
</NameValueList>
<NameValueList>
<Name>Tire Sizing System</Name>
<Value>Passenger</Value>
</NameValueList>
</ItemSpecifics>
</Item>
</LinkedLineItem>
</LinkedLineItemArray>
</Transaction>
</TransactionArray>
<BuyerUserID>u************************4</BuyerUserID>
<PaidTime>2023-03-13T13:02:27.544Z</PaidTime>
<IntegratedMerchantCreditCardEnabled>false</IntegratedMerchantCreditCardEnabled>
<EIASToken>nY+s*********************************************Y+seQ==</EIASToken>
<PaymentHoldStatus>None</PaymentHoldStatus>
<IsMultiLegShipping>false</IsMultiLegShipping>
<MonetaryDetails>
<Payments>
<Payment>
<PaymentStatus>Succeeded</PaymentStatus>
<Payer type="eBayUser">u************************4</Payer>
<Payee type="eBayUser">tiprov0</Payee>
<PaymentTime>2023-03-13T13:02:27.545Z</PaymentTime>
<PaymentAmount currencyID="USD">91.0</PaymentAmount>
<ReferenceID type="ExternalTransactionID">5**********1</ReferenceID>
</Payment>
</Payments>
</MonetaryDetails>
<SellerUserID>tiprov0</SellerUserID>
<SellerEIASToken>nY+s*********************************************Y+seQ==</SellerEIASToken>
<CancelStatus>NotApplicable</CancelStatus>
<ExtendedOrderID>2*-0***1-1***7</ExtendedOrderID>
<ContainseBayPlusTransaction>false</ContainseBayPlusTransaction>
</Order>
I see that there is a "SKU" field, but I also need to retrieve information about the stock status of a given item. How can I do this? Preferably not based on the SKU, because in this thread - https://community.ebay.com/t5/RESTful-Sell-APIs-Fulfillment/Fetching-Product-Information-Using-legac... it shows that retrieving this information based on SKU causes API errors.