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



15
16
17
18
19
# File 'lib/shipstation/order.rb', line 15

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

.create_label(params = {}) ⇒ Object



9
10
11
12
13
# File 'lib/shipstation/order.rb', line 9

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