Interface ShopifyClient
public interface ShopifyClient
JAX-RS client for the Shopify Admin REST API (version 2023-07); each method returns the JSON response body.
Create one with
ShopifyClient.Proxy.get(String, String).-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classRequest filter that sends a token in theX-Shopify-Access-Tokenheader.static classResponse filter that copies thepage_infocursor of theLinkheader's next-page URL into anextfield of JSON responses with status 200.static classFactory forShopifyClient.ShopifyStubinstances.static classHolds aShopifyClientproxy with the RESTEasy client and web target behind it. -
Method Summary
Modifier and TypeMethodDescriptionadjustInventoryLevel(String locationId, String inventoryItemId, int availableAdjustment) Changes the inventory item's available quantity at the location byavailableAdjustment.getCustomers(ShopifyCustomerCriteria customerCriteria, int limit, String pageInfo) getEvents(ShopifyEventCriteria eventCriteria, int limit, String pageInfo) getInventoryItems(ShopifyInventoryItemCriteria itemCriteria, int limit, String pageInfo) getLocationInventoryLevel(ShopifyInventoryLevelCriteria criteria, int limit, String pageInfo) getLocations(int limit, String pageInfo) getProducts(ShopifyProductCriteria productCriteria, int limit, String pageInfo) getSalesOrders(ShopifyOrder orderCriteria, int limit, String pageInfo) updateInventoryItem(String orderId, ShopifyInventoryItem item) Updates the inventory item whose ID is passed asorderId.updateInventoryLevel(String locationId, String inventoryItemId, int available) Replaces the inventory item's available quantity at the location withavailable.updateOrder(String orderId, ShopifyOrder order)
-
Method Details
-
getSalesOrders
-
getAllDraftOrders
String getAllDraftOrders() -
updateOrder
-
getInventoryItems
-
getLocationInventoryLevel
String getLocationInventoryLevel(ShopifyInventoryLevelCriteria criteria, int limit, String pageInfo) -
updateInventoryItem
Updates the inventory item whose ID is passed asorderId. -
adjustInventoryLevel
Changes the inventory item's available quantity at the location byavailableAdjustment. -
updateInventoryLevel
Replaces the inventory item's available quantity at the location withavailable. -
getLocations
-
getProducts
-
getCustomers
-
getEvents
-