Sha256: db7e7cba3b561e26358adb3e6bfc9c6499a7d4d758bf45640cf3d941be8a0d94
Contents?: true
Size: 556 Bytes
Versions: 7
Compression:
Stored size: 556 Bytes
Contents
module ShopifyAPI class FulfillmentV2 < Base self.element_name = 'fulfillment' def initialize(attributes = {}, persisted = false) ShopifyAPI::Base.version_validation!(FulfillmentOrder::MINIMUM_VERSION) super(attributes, persisted) end def update_tracking(tracking_info:, notify_customer:) body = { fulfillment: { tracking_info: tracking_info, notify_customer: notify_customer } } load_attributes_from_response(post(:update_tracking, {}, body.to_json)) end end end
Version data entries
7 entries across 7 versions & 1 rubygems