Open hippoduck opened 4 years ago
$stores = $shipstation->stores; $refresh = $stores->refreshStore(12345);
results in:
https://ssapi.shipstation.com/storesrefreshstore?storeId=12345&refreshDate=resulted in a404 Not Found` response: {"Message":"No HTTP resource was found that matches the request URI
resulted in a
The path should be "stores/refreshstore"
I fixed this by changing line 10 on Endpoints/Stores.php
from: protected $endpoint = '/stores'; to: protected $endpoint = '/stores/';
This is how it is for the Orders endpoint, but most of the others are wrong too.
This is fixed in my fork, since this repo seems to be un-maintained https://github.com/zack6849/ship-station/
results in:
The path should be "stores/refreshstore"
I fixed this by changing line 10 on Endpoints/Stores.php
from: protected $endpoint = '/stores'; to: protected $endpoint = '/stores/';
This is how it is for the Orders endpoint, but most of the others are wrong too.