Class: Shipstation::Order

Inherits:
ApiResource show all
Extended by:
APIOperations::Create, APIOperations::Delete, APIOperations::List, APIOperations::Retrieve, APIOperations::Shipment
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 included from APIOperations::Shipment

mark_as_shipped

Methods inherited from ApiResource

class_name

Class Method Details

.assign_tag(params = {}) ⇒ Object



18
19
20
21
22
# File 'lib/shipstation/order.rb', line 18

def assign_tag(params = {})
  response = Shipstation.request(:post, 'orders/addtag', params)

  response
end

.create_bulk(params = {}) ⇒ Object



30
31
32
33
34
# File 'lib/shipstation/order.rb', line 30

def create_bulk(params = {})
  response = Shipstation.request(:post, 'orders/createorders', params)

  response
end

.create_label(params = {}) ⇒ Object



12
13
14
15
16
# File 'lib/shipstation/order.rb', line 12

def create_label(params = {})
  response = Shipstation.request(:post, 'orders/createlabelfororder', params)

  response
end

.remove_tag(params = {}) ⇒ Object



24
25
26
27
28
# File 'lib/shipstation/order.rb', line 24

def remove_tag(params = {})
  response = Shipstation.request(:post, 'orders/removetag', params)

  response
end