class Brightpearl::OrderRow
Public Class Methods
delete(order_id, id)
click to toggle source
api-docs.brightpearl.com/order/order-row/patch.html
# File lib/brightpearl/resources/order_row.rb, line 15 def delete(order_id, id) send_request(path: "order-service/order/#{order_id}/row/#{id}", method: :delete) end
patch(order_id, id, params)
click to toggle source
api-docs.brightpearl.com/order/order-row/patch.html
# File lib/brightpearl/resources/order_row.rb, line 10 def patch(order_id, id, params) send_request(path: "order-service/order/#{order_id}/row/#{id}", method: :patch, body: params) end
post(order_id, params)
click to toggle source
api-docs.brightpearl.com/order/order-row/post.html
# File lib/brightpearl/resources/order_row.rb, line 5 def post(order_id, params) send_request(path: "order-service/order/#{order_id}/row", method: :post, body: params) end