Skip to content

Deals and Products with custom fields and a small fix

Compare
Choose a tag to compare
@SpaceOven SpaceOven released this 07 Dec 09:54
· 198 commits to master since this release
93fd572
  • The methods addAProduct and updateAProduct now return all Product fields in the response, including custom fields.
  • From deals, getAllDeals and getDetailsOfADeal will return the raw response as it comes from the API itself, so custom fields are also included.
    • Notice that this is a breaking change, as certain 0/1 integer values coming from the API (eg.: has_pic) were cast to boolean before, but they won't be cast anymore.
  • The getDealsTimeline method was fixed, now it returns an array of results as expected.