Sha256: 60c3905e22f9cb61a139f452a406ccd56eca50bca7dac0e5392dd6c36899cbec
Contents?: true
Size: 574 Bytes
Versions: 7
Compression:
Stored size: 574 Bytes
Contents
# frozen_string_literal: true module MuffinMan module VendorDirectFulfillmentInventory class V1 < SpApiClient def submit_inventory_update(warehouse_id, selling_party, is_full_update, items) @local_var_path = "/vendor/directFulfillment/inventory/v1/warehouses/#{warehouse_id}/items" @request_body = { "inventory" => { "sellingParty" => selling_party, "isFullUpdate" => is_full_update, "items" => items } } @request_type = "POST" call_api end end end end
Version data entries
7 entries across 7 versions & 1 rubygems