All URIs are relative to https://tripletex.no/v2
| Method | HTTP request | Description |
|---|---|---|
| delete | DELETE /product/inventoryLocation/{id} | [BETA] Delete product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
| get | GET /product/inventoryLocation/{id} | Get inventory location by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
| post | POST /product/inventoryLocation | [BETA] Create new product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
| post_list | POST /product/inventoryLocation/list | [BETA] Add multiple product inventory locations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
| put | PUT /product/inventoryLocation/{id} | [BETA] Update product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
| put_list | PUT /product/inventoryLocation/list | [BETA] Update multiple product inventory locations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
| search | GET /product/inventoryLocation | [BETA] Find inventory locations by product ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account' |
delete(id)
[BETA] Delete product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
id = 56 # Integer | Element ID
begin
#[BETA] Delete product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
api_instance.delete(id)
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->delete: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID |
nil (empty response body)
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperProductInventoryLocation get(id, opts)
Get inventory location by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
id = 56 # Integer | Element ID
opts = {
fields: 'fields_example' # String | Fields filter pattern
}
begin
#Get inventory location by ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
result = api_instance.get(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->get: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID | |
| fields | String | Fields filter pattern | [optional] |
ResponseWrapperProductInventoryLocation
- Content-Type: Not defined
- Accept: Not defined
ResponseWrapperProductInventoryLocation post(opts)
[BETA] Create new product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
opts = {
body: TripletexRubyClient::ProductInventoryLocation.new # ProductInventoryLocation | JSON representing the new object to be created. Should not have ID and version set.
}
begin
#[BETA] Create new product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
result = api_instance.post(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->post: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| body | ProductInventoryLocation | JSON representing the new object to be created. Should not have ID and version set. | [optional] |
ResponseWrapperProductInventoryLocation
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ListResponseProductInventoryLocation post_list(opts)
[BETA] Add multiple product inventory locations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
opts = {
body: [TripletexRubyClient::ProductInventoryLocation.new] # Array<ProductInventoryLocation> | JSON representing a list of new object to be created. Should not have ID and version set.
}
begin
#[BETA] Add multiple product inventory locations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
result = api_instance.post_list(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->post_list: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| body | Array<ProductInventoryLocation> | JSON representing a list of new object to be created. Should not have ID and version set. | [optional] |
ListResponseProductInventoryLocation
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ResponseWrapperProductInventoryLocation put(id, opts)
[BETA] Update product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
id = 56 # Integer | Element ID
opts = {
body: TripletexRubyClient::ProductInventoryLocation.new # ProductInventoryLocation | Partial object describing what should be updated
}
begin
#[BETA] Update product inventory location. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
result = api_instance.put(id, opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->put: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| id | Integer | Element ID | |
| body | ProductInventoryLocation | Partial object describing what should be updated | [optional] |
ResponseWrapperProductInventoryLocation
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ListResponseProductInventoryLocation put_list(opts)
[BETA] Update multiple product inventory locations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
opts = {
body: [TripletexRubyClient::ProductInventoryLocation.new] # Array<ProductInventoryLocation> | JSON representing updates to object. Should have ID and version set.
}
begin
#[BETA] Update multiple product inventory locations. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
result = api_instance.put_list(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->put_list: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| body | Array<ProductInventoryLocation> | JSON representing updates to object. Should have ID and version set. | [optional] |
ListResponseProductInventoryLocation
- Content-Type: application/json; charset=utf-8
- Accept: Not defined
ListResponseProductInventoryLocation search(opts)
[BETA] Find inventory locations by product ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
# load the gem
require 'tripletex_ruby_client'
# setup authorization
# # Setup authorization - as autogenerated by swagger-codegen
# TripletexRubyClient.configure do |config|
# # Configure HTTP basic authorization: tokenAuthScheme
# config.username = 'YOUR USERNAME'
# config.password = 'YOUR PASSWORD'
# end
# Setup authorization
#
TripletexRubyClient.configure do |config|
# Configure HTTP basic authorization: tokenAuthScheme
config.consumer_token = ENV["TT_CONSUMER_TOKEN"]
config.employee_token = ENV["TT_EMPLOYEE_TOKEN"]
config.host = Rails.env.production? ? 'https://tripletex.no' : 'https://api.tripletex.io'
config.token_expiration_time = Rails.env.production? ? 1.month : 1.day
end
api_instance = TripletexRubyClient::ProductinventoryLocationApi.new
opts = {
product_id: 'product_id_example', # String | List of IDs
inventory_id: 'inventory_id_example', # String | List of IDs
is_main_location: true, # BOOLEAN | Equals
from: 0, # Integer | From index
count: 1000, # Integer | Number of elements to return
sorting: 'sorting_example', # String | Sorting pattern
fields: 'fields_example' # String | Fields filter pattern
}
begin
#[BETA] Find inventory locations by product ID. Only available for users that have activated the Logistics Plus Beta-program in 'Our customer account'
result = api_instance.search(opts)
p result
rescue TripletexRubyClient::ApiError => e
puts "Exception when calling ProductinventoryLocationApi->search: #{e}"
end| Name | Type | Description | Notes |
|---|---|---|---|
| product_id | String | List of IDs | [optional] |
| inventory_id | String | List of IDs | [optional] |
| is_main_location | BOOLEAN | Equals | [optional] |
| from | Integer | From index | [optional] [default to 0] |
| count | Integer | Number of elements to return | [optional] [default to 1000] |
| sorting | String | Sorting pattern | [optional] |
| fields | String | Fields filter pattern | [optional] |
ListResponseProductInventoryLocation
- Content-Type: Not defined
- Accept: Not defined