From 566e6d6bbbd3c17ccb8c8cf759205b7c5638d050 Mon Sep 17 00:00:00 2001 From: Josh Freeman Date: Sat, 4 May 2019 18:58:27 +0100 Subject: [PATCH] Add endpoint for manual update forced --- src/XIVAPI/Api/PrivateApi.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/XIVAPI/Api/PrivateApi.php b/src/XIVAPI/Api/PrivateApi.php index 9550e84..0eb26b8 100644 --- a/src/XIVAPI/Api/PrivateApi.php +++ b/src/XIVAPI/Api/PrivateApi.php @@ -21,6 +21,20 @@ public function manualItemUpdate(string $accessKey, int $itemId, string $server) ]); } + /** + * Request an item to be updated + */ + public function manualItemUpdateForce(string $accessKey, int $itemId, string $server) + { + return Guzzle::get("/private/market/item/update/requested", [ + RequestOptions::QUERY => [ + 'access' => $accessKey, + 'item_id' => $itemId, + 'server' => $server, + ] + ]); + } + /** * Request an item to be updated */