shusaura85 / fancourier-api

PHP library to work with the new Fan Courier API v2.0 (selfawb.ro / api.fancourier.ro)
MIT License
21 stars 9 forks source link

[Feature] Added platformId parameter to Generate requests #27

Closed daika7ana closed 2 months ago

daika7ana commented 2 months ago

New parameter requested by FAN Courier. Came as a private request, not possible to test afaik since there is no visual feedback on the generated AWB. The company I work for, has been provided a particular ID (it seems to be an unsigned integer - but not sure this is the case for all the provided IDs nor if they will change in the nearby future).

shusaura85 commented 2 months ago

Looks like Fan loves their undocumented features.
Added a few comments to the files to explain that the function is not needed if you don't have a platformId number