Class: Shipstation::Order

Inherits:
ApiResource show all
Extended by:
APIOperations::Create, APIOperations::Delete, APIOperations::List, APIOperations::Retrieve
Defined in:
lib/shipstation/order.rb

Class Method Summary collapse

Methods included from APIOperations::List

list

Methods included from APIOperations::Create

create

Methods included from APIOperations::Retrieve

retrieve

Methods included from APIOperations::Delete

delete

Methods inherited from ApiResource

class_name

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