Class: Shipstation::Order
- Inherits:
-
ApiResource
- Object
- ApiResource
- Shipstation::Order
- Extended by:
- APIOperations::Create, APIOperations::Delete, APIOperations::List, APIOperations::Retrieve
- Defined in:
- lib/shipstation/order.rb
Class Method Summary collapse
- .assign_tag(params = {}) ⇒ Object
- .create_bulk(params = {}) ⇒ Object
- .create_label(params = {}) ⇒ Object
- .remove_tag(params = {}) ⇒ Object
Methods included from APIOperations::List
Methods included from APIOperations::Create
Methods included from APIOperations::Retrieve
Methods included from APIOperations::Delete
Methods inherited from ApiResource
Class Method Details
.assign_tag(params = {}) ⇒ Object
17 18 19 20 21 |
# File 'lib/shipstation/order.rb', line 17 def assign_tag(params = {}) response = Shipstation.request(:post, 'orders/addtag', params) response end |
.create_bulk(params = {}) ⇒ Object
29 30 31 32 33 |
# File 'lib/shipstation/order.rb', line 29 def create_bulk(params = {}) response = Shipstation.request(:post, 'orders/createorders', params) response end |
.create_label(params = {}) ⇒ Object
11 12 13 14 15 |
# File 'lib/shipstation/order.rb', line 11 def create_label(params = {}) response = Shipstation.request(:post, 'orders/createlabelfororder', params) response end |
.remove_tag(params = {}) ⇒ Object
23 24 25 26 27 |
# File 'lib/shipstation/order.rb', line 23 def remove_tag(params = {}) response = Shipstation.request(:post, 'orders/removetag', params) response end |