davidtsadler / ebay-sdk-php

An eBay SDK for PHP. Use the eBay API in your PHP projects.
Apache License 2.0
350 stars 343 forks source link

InventoryService::updateOffer() always fails #76

Closed chuhta closed 7 years ago

chuhta commented 7 years ago

The call to the InventoryService updateOffer() will always fail with a vague error message about "" (blank) being invalid.

This appears to be due to the InventoryService having a mixed up mapping between the resource (offer_Id) and the param (offerId) for this request type. The UpdateOfferRestRequest has the property as (offerId).

davidtsadler commented 7 years ago

Thanks for spotting the mixed up mapping. The 9.0.1 release should have hopefully fixed this.