goca-spree-api 3.1.14.rails.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +17 -0
- data/Gemfile +5 -0
- data/LICENSE +26 -0
- data/Rakefile +16 -0
- data/app/controllers/spree/api/base_controller.rb +167 -0
- data/app/controllers/spree/api/v1/addresses_controller.rb +46 -0
- data/app/controllers/spree/api/v1/checkouts_controller.rb +103 -0
- data/app/controllers/spree/api/v1/classifications_controller.rb +20 -0
- data/app/controllers/spree/api/v1/countries_controller.rb +24 -0
- data/app/controllers/spree/api/v1/credit_cards_controller.rb +27 -0
- data/app/controllers/spree/api/v1/images_controller.rb +56 -0
- data/app/controllers/spree/api/v1/inventory_units_controller.rb +54 -0
- data/app/controllers/spree/api/v1/line_items_controller.rb +70 -0
- data/app/controllers/spree/api/v1/option_types_controller.rb +51 -0
- data/app/controllers/spree/api/v1/option_values_controller.rb +60 -0
- data/app/controllers/spree/api/v1/orders_controller.rb +148 -0
- data/app/controllers/spree/api/v1/payments_controller.rb +83 -0
- data/app/controllers/spree/api/v1/product_properties_controller.rb +70 -0
- data/app/controllers/spree/api/v1/products_controller.rb +126 -0
- data/app/controllers/spree/api/v1/promotions_controller.rb +28 -0
- data/app/controllers/spree/api/v1/properties_controller.rb +72 -0
- data/app/controllers/spree/api/v1/return_authorizations_controller.rb +71 -0
- data/app/controllers/spree/api/v1/shipments_controller.rb +163 -0
- data/app/controllers/spree/api/v1/states_controller.rb +37 -0
- data/app/controllers/spree/api/v1/stock_items_controller.rb +77 -0
- data/app/controllers/spree/api/v1/stock_locations_controller.rb +52 -0
- data/app/controllers/spree/api/v1/stock_movements_controller.rb +45 -0
- data/app/controllers/spree/api/v1/stores_controller.rb +57 -0
- data/app/controllers/spree/api/v1/taxonomies_controller.rb +66 -0
- data/app/controllers/spree/api/v1/taxons_controller.rb +95 -0
- data/app/controllers/spree/api/v1/users_controller.rb +60 -0
- data/app/controllers/spree/api/v1/variants_controller.rb +75 -0
- data/app/controllers/spree/api/v1/zones_controller.rb +51 -0
- data/app/helpers/spree/api/api_helpers.rb +173 -0
- data/app/models/spree/api_configuration.rb +5 -0
- data/app/views/spree/api/errors/gateway_error.v1.rabl +2 -0
- data/app/views/spree/api/errors/invalid_api_key.v1.rabl +2 -0
- data/app/views/spree/api/errors/invalid_resource.v1.rabl +3 -0
- data/app/views/spree/api/errors/must_specify_api_key.v1.rabl +2 -0
- data/app/views/spree/api/errors/not_found.v1.rabl +2 -0
- data/app/views/spree/api/errors/unauthorized.v1.rabl +2 -0
- data/app/views/spree/api/v1/addresses/show.v1.rabl +10 -0
- data/app/views/spree/api/v1/adjustments/show.v1.rabl +4 -0
- data/app/views/spree/api/v1/config/money.v1.rabl +2 -0
- data/app/views/spree/api/v1/config/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/countries/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/countries/show.v1.rabl +5 -0
- data/app/views/spree/api/v1/credit_cards/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/credit_cards/show.v1.rabl +3 -0
- data/app/views/spree/api/v1/images/index.v1.rabl +4 -0
- data/app/views/spree/api/v1/images/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/images/show.v1.rabl +6 -0
- data/app/views/spree/api/v1/inventory_units/show.rabl +2 -0
- data/app/views/spree/api/v1/line_items/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/line_items/show.v1.rabl +15 -0
- data/app/views/spree/api/v1/option_types/index.v1.rabl +3 -0
- data/app/views/spree/api/v1/option_types/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/option_types/show.v1.rabl +5 -0
- data/app/views/spree/api/v1/option_values/index.v1.rabl +3 -0
- data/app/views/spree/api/v1/option_values/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/option_values/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/orders/address.v1.rabl +0 -0
- data/app/views/spree/api/v1/orders/canceled.v1.rabl +0 -0
- data/app/views/spree/api/v1/orders/cart.v1.rabl +0 -0
- data/app/views/spree/api/v1/orders/complete.v1.rabl +0 -0
- data/app/views/spree/api/v1/orders/could_not_apply_coupon.v1.rabl +2 -0
- data/app/views/spree/api/v1/orders/could_not_transition.v1.rabl +3 -0
- data/app/views/spree/api/v1/orders/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/orders/invalid_shipping_method.v1.rabl +2 -0
- data/app/views/spree/api/v1/orders/mine.v1.rabl +9 -0
- data/app/views/spree/api/v1/orders/order.v1.rabl +10 -0
- data/app/views/spree/api/v1/orders/payment.v1.rabl +3 -0
- data/app/views/spree/api/v1/orders/show.v1.rabl +51 -0
- data/app/views/spree/api/v1/payments/credit_over_limit.v1.rabl +2 -0
- data/app/views/spree/api/v1/payments/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/payments/new.v1.rabl +5 -0
- data/app/views/spree/api/v1/payments/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/payments/update_forbidden.v1.rabl +2 -0
- data/app/views/spree/api/v1/product_properties/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/product_properties/new.v1.rabl +2 -0
- data/app/views/spree/api/v1/product_properties/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/products/index.v1.rabl +9 -0
- data/app/views/spree/api/v1/products/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/products/product.v1.rabl +1 -0
- data/app/views/spree/api/v1/products/show.v1.rabl +32 -0
- data/app/views/spree/api/v1/promotions/handler.v1.rabl +5 -0
- data/app/views/spree/api/v1/promotions/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/properties/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/properties/new.v1.rabl +2 -0
- data/app/views/spree/api/v1/properties/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/return_authorizations/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/return_authorizations/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/return_authorizations/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/shared/stock_location_required.v1.rabl +2 -0
- data/app/views/spree/api/v1/shipments/big.v1.rabl +48 -0
- data/app/views/spree/api/v1/shipments/cannot_ready_shipment.v1.rabl +2 -0
- data/app/views/spree/api/v1/shipments/mine.v1.rabl +9 -0
- data/app/views/spree/api/v1/shipments/show.v1.rabl +32 -0
- data/app/views/spree/api/v1/shipments/small.v1.rabl +37 -0
- data/app/views/spree/api/v1/shipping_rates/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/states/index.v1.rabl +14 -0
- data/app/views/spree/api/v1/states/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/stock_items/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/stock_items/show.v1.rabl +5 -0
- data/app/views/spree/api/v1/stock_locations/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/stock_locations/show.v1.rabl +8 -0
- data/app/views/spree/api/v1/stock_movements/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/stock_movements/show.v1.rabl +5 -0
- data/app/views/spree/api/v1/stores/index.v1.rabl +4 -0
- data/app/views/spree/api/v1/stores/show.v1.rabl +2 -0
- data/app/views/spree/api/v1/taxonomies/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/taxonomies/jstree.rabl +8 -0
- data/app/views/spree/api/v1/taxonomies/nested.v1.rabl +11 -0
- data/app/views/spree/api/v1/taxonomies/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/taxonomies/show.v1.rabl +15 -0
- data/app/views/spree/api/v1/taxons/index.v1.rabl +12 -0
- data/app/views/spree/api/v1/taxons/jstree.rabl +8 -0
- data/app/views/spree/api/v1/taxons/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/taxons/show.v1.rabl +6 -0
- data/app/views/spree/api/v1/taxons/taxons.v1.rabl +5 -0
- data/app/views/spree/api/v1/users/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/users/new.v1.rabl +3 -0
- data/app/views/spree/api/v1/users/show.v1.rabl +10 -0
- data/app/views/spree/api/v1/variants/big.v1.rabl +14 -0
- data/app/views/spree/api/v1/variants/index.v1.rabl +9 -0
- data/app/views/spree/api/v1/variants/new.v1.rabl +2 -0
- data/app/views/spree/api/v1/variants/show.v1.rabl +3 -0
- data/app/views/spree/api/v1/variants/small.v1.rabl +17 -0
- data/app/views/spree/api/v1/zones/index.v1.rabl +7 -0
- data/app/views/spree/api/v1/zones/show.v1.rabl +6 -0
- data/config/initializers/metal_load_paths.rb +1 -0
- data/config/locales/en.yml +27 -0
- data/config/routes.rb +128 -0
- data/db/migrate/20100107141738_add_api_key_to_spree_users.rb +7 -0
- data/db/migrate/20120411123334_resize_api_key_field.rb +7 -0
- data/db/migrate/20120530054546_rename_api_key_to_spree_api_key.rb +7 -0
- data/db/migrate/20131017162334_add_index_to_user_spree_api_key.rb +7 -0
- data/lib/spree/api/controller_setup.rb +20 -0
- data/lib/spree/api/engine.rb +35 -0
- data/lib/spree/api/responders/rabl_template.rb +30 -0
- data/lib/spree/api/responders.rb +11 -0
- data/lib/spree/api/testing_support/caching.rb +10 -0
- data/lib/spree/api/testing_support/helpers.rb +44 -0
- data/lib/spree/api/testing_support/setup.rb +16 -0
- data/lib/spree/api.rb +10 -0
- data/lib/spree_api.rb +2 -0
- data/script/rails +9 -0
- data/spec/fixtures/thinking-cat.jpg +0 -0
- data/spree_api.gemspec +20 -0
- metadata +221 -0
@@ -0,0 +1,9 @@
|
|
1
|
+
object false
|
2
|
+
node(:count) { @products.count }
|
3
|
+
node(:total_count) { @products.total_count }
|
4
|
+
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
|
5
|
+
node(:per_page) { params[:per_page].try(:to_i) || Kaminari.config.default_per_page }
|
6
|
+
node(:pages) { @products.total_pages }
|
7
|
+
child(@products => :products) do
|
8
|
+
extends "spree/api/v1/products/show"
|
9
|
+
end
|
@@ -0,0 +1 @@
|
|
1
|
+
attributes *product_attributes
|
@@ -0,0 +1,32 @@
|
|
1
|
+
object @product
|
2
|
+
cache [I18n.locale, @current_user_roles.include?('admin'), current_currency, root_object]
|
3
|
+
|
4
|
+
attributes *product_attributes
|
5
|
+
|
6
|
+
node(:display_price) { |p| p.display_price.to_s }
|
7
|
+
node(:has_variants) { |p| p.has_variants? }
|
8
|
+
node(:taxon_ids) { |p| p.taxon_ids }
|
9
|
+
|
10
|
+
child :master => :master do
|
11
|
+
extends "spree/api/v1/variants/small"
|
12
|
+
end
|
13
|
+
|
14
|
+
child :variants => :variants do
|
15
|
+
extends "spree/api/v1/variants/small"
|
16
|
+
end
|
17
|
+
|
18
|
+
child :option_types => :option_types do
|
19
|
+
attributes *option_type_attributes
|
20
|
+
end
|
21
|
+
|
22
|
+
child :product_properties => :product_properties do
|
23
|
+
attributes *product_property_attributes
|
24
|
+
end
|
25
|
+
|
26
|
+
child :classifications => :classifications do
|
27
|
+
attributes :taxon_id, :position
|
28
|
+
|
29
|
+
child(:taxon) do
|
30
|
+
extends "spree/api/v1/taxons/show"
|
31
|
+
end
|
32
|
+
end
|
@@ -0,0 +1,7 @@
|
|
1
|
+
object false
|
2
|
+
child(@return_authorizations => :return_authorizations) do
|
3
|
+
attributes *return_authorization_attributes
|
4
|
+
end
|
5
|
+
node(:count) { @return_authorizations.count }
|
6
|
+
node(:current_page) { params[:page].try(:to_i) || 1 }
|
7
|
+
node(:pages) { @return_authorizations.total_pages }
|
@@ -0,0 +1,48 @@
|
|
1
|
+
object @shipment
|
2
|
+
cache @shipment
|
3
|
+
attributes *shipment_attributes
|
4
|
+
|
5
|
+
child selected_shipping_rate: :selected_shipping_rate do
|
6
|
+
extends "spree/api/v1/shipping_rates/show"
|
7
|
+
end
|
8
|
+
|
9
|
+
child inventory_units: :inventory_units do
|
10
|
+
object @inventory_unit
|
11
|
+
attributes *inventory_unit_attributes
|
12
|
+
|
13
|
+
child :variant do
|
14
|
+
extends "spree/api/v1/variants/small"
|
15
|
+
attributes :product_id
|
16
|
+
child(images: :images) { extends "spree/api/v1/images/show" }
|
17
|
+
end
|
18
|
+
|
19
|
+
child :line_item do
|
20
|
+
attributes *line_item_attributes
|
21
|
+
node(:single_display_amount) { |li| li.single_display_amount.to_s }
|
22
|
+
node(:display_amount) { |li| li.display_amount.to_s }
|
23
|
+
node(:total) { |li| li.total }
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
child order: :order do
|
28
|
+
extends "spree/api/v1/orders/order"
|
29
|
+
|
30
|
+
child billing_address: :bill_address do
|
31
|
+
extends "spree/api/v1/addresses/show"
|
32
|
+
end
|
33
|
+
|
34
|
+
child shipping_address: :ship_address do
|
35
|
+
extends "spree/api/v1/addresses/show"
|
36
|
+
end
|
37
|
+
|
38
|
+
child adjustments: :adjustments do
|
39
|
+
extends "spree/api/v1/adjustments/show"
|
40
|
+
end
|
41
|
+
|
42
|
+
child payments: :payments do
|
43
|
+
attributes :id, :amount, :display_amount, :state
|
44
|
+
child payment_method: :payment_method do
|
45
|
+
attributes :id, :name
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
@@ -0,0 +1,32 @@
|
|
1
|
+
object @shipment
|
2
|
+
cache [I18n.locale, root_object]
|
3
|
+
attributes *shipment_attributes
|
4
|
+
node(:order_id) { |shipment| shipment.order.number }
|
5
|
+
node(:stock_location_name) { |shipment| shipment.stock_location.name }
|
6
|
+
|
7
|
+
child :shipping_rates => :shipping_rates do
|
8
|
+
extends "spree/api/v1/shipping_rates/show"
|
9
|
+
end
|
10
|
+
|
11
|
+
child :selected_shipping_rate => :selected_shipping_rate do
|
12
|
+
extends "spree/api/v1/shipping_rates/show"
|
13
|
+
end
|
14
|
+
|
15
|
+
child :shipping_methods => :shipping_methods do
|
16
|
+
attributes :id, :name
|
17
|
+
child :zones => :zones do
|
18
|
+
attributes :id, :name, :description
|
19
|
+
end
|
20
|
+
|
21
|
+
child :shipping_categories => :shipping_categories do
|
22
|
+
attributes :id, :name
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
child :manifest => :manifest do
|
27
|
+
child :variant => :variant do
|
28
|
+
extends "spree/api/v1/variants/small"
|
29
|
+
end
|
30
|
+
node(:quantity) { |m| m.quantity }
|
31
|
+
node(:states) { |m| m.states }
|
32
|
+
end
|
@@ -0,0 +1,37 @@
|
|
1
|
+
object @shipment
|
2
|
+
cache [I18n.locale, 'small_shipment', root_object]
|
3
|
+
|
4
|
+
attributes *shipment_attributes
|
5
|
+
node(:order_id) { |shipment| shipment.order.number }
|
6
|
+
node(:stock_location_name) { |shipment| shipment.stock_location.name }
|
7
|
+
|
8
|
+
child :shipping_rates => :shipping_rates do
|
9
|
+
extends "spree/api/v1/shipping_rates/show"
|
10
|
+
end
|
11
|
+
|
12
|
+
child :selected_shipping_rate => :selected_shipping_rate do
|
13
|
+
extends "spree/api/v1/shipping_rates/show"
|
14
|
+
end
|
15
|
+
|
16
|
+
child :shipping_methods => :shipping_methods do
|
17
|
+
attributes :id, :code, :name
|
18
|
+
child :zones => :zones do
|
19
|
+
attributes :id, :name, :description
|
20
|
+
end
|
21
|
+
|
22
|
+
child :shipping_categories => :shipping_categories do
|
23
|
+
attributes :id, :name
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
child :manifest => :manifest do
|
28
|
+
glue(:variant) do
|
29
|
+
attribute :id => :variant_id
|
30
|
+
end
|
31
|
+
node(:quantity) { |m| m.quantity }
|
32
|
+
node(:states) { |m| m.states }
|
33
|
+
end
|
34
|
+
|
35
|
+
child :adjustments => :adjustments do
|
36
|
+
extends "spree/api/v1/adjustments/show"
|
37
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
object false
|
2
|
+
if @country
|
3
|
+
node(:states_required) { @country.states_required }
|
4
|
+
end
|
5
|
+
|
6
|
+
child(@states => :states) do
|
7
|
+
attributes *state_attributes
|
8
|
+
end
|
9
|
+
|
10
|
+
if @states.respond_to?(:total_pages)
|
11
|
+
node(:count) { @states.count }
|
12
|
+
node(:current_page) { params[:page].try(:to_i) || 1 }
|
13
|
+
node(:pages) { @states.total_pages }
|
14
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
object @taxonomy
|
2
|
+
|
3
|
+
if params[:set] == 'nested'
|
4
|
+
extends "spree/api/v1/taxonomies/nested"
|
5
|
+
else
|
6
|
+
attributes *taxonomy_attributes
|
7
|
+
|
8
|
+
child root: :root do
|
9
|
+
attributes *taxon_attributes
|
10
|
+
|
11
|
+
child children: :taxons do
|
12
|
+
attributes *taxon_attributes
|
13
|
+
end
|
14
|
+
end
|
15
|
+
end
|
@@ -0,0 +1,12 @@
|
|
1
|
+
object false
|
2
|
+
node(:count) { @taxons.count }
|
3
|
+
node(:total_count) { @taxons.total_count }
|
4
|
+
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
|
5
|
+
node(:per_page) { params[:per_page].try(:to_i) || Kaminari.config.default_per_page }
|
6
|
+
node(:pages) { @taxons.total_pages }
|
7
|
+
child @taxons => :taxons do
|
8
|
+
attributes *taxon_attributes
|
9
|
+
unless params[:without_children]
|
10
|
+
extends "spree/api/v1/taxons/taxons"
|
11
|
+
end
|
12
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
object @variant
|
2
|
+
|
3
|
+
cache [I18n.locale, @current_user_roles.include?('admin'), 'big_variant', root_object]
|
4
|
+
|
5
|
+
extends "spree/api/v1/variants/small"
|
6
|
+
|
7
|
+
child(:stock_items => :stock_items) do
|
8
|
+
attributes :id, :count_on_hand, :stock_location_id, :backorderable
|
9
|
+
attribute :available? => :available
|
10
|
+
|
11
|
+
glue(:stock_location) do
|
12
|
+
attribute :name => :stock_location_name
|
13
|
+
end
|
14
|
+
end
|
@@ -0,0 +1,9 @@
|
|
1
|
+
object false
|
2
|
+
node(:count) { @variants.count }
|
3
|
+
node(:total_count) { @variants.total_count }
|
4
|
+
node(:current_page) { params[:page] ? params[:page].to_i : 1 }
|
5
|
+
node(:pages) { @variants.total_pages }
|
6
|
+
|
7
|
+
child(@variants => :variants) do
|
8
|
+
extends "spree/api/v1/variants/big"
|
9
|
+
end
|
@@ -0,0 +1,17 @@
|
|
1
|
+
cache [I18n.locale, @current_user_roles.include?('admin'), 'small_variant', root_object]
|
2
|
+
|
3
|
+
attributes *variant_attributes
|
4
|
+
|
5
|
+
node(:display_price) { |p| p.display_price.to_s }
|
6
|
+
node(:options_text) { |v| v.options_text }
|
7
|
+
node(:track_inventory) { |v| v.should_track_inventory? }
|
8
|
+
node(:in_stock) { |v| v.in_stock? }
|
9
|
+
node(:is_backorderable) { |v| v.is_backorderable? }
|
10
|
+
node(:total_on_hand) { |v| v.total_on_hand }
|
11
|
+
node(:is_destroyed) { |v| v.destroyed? }
|
12
|
+
|
13
|
+
child :option_values => :option_values do
|
14
|
+
attributes *option_value_attributes
|
15
|
+
end
|
16
|
+
|
17
|
+
child(:images => :images) { extends "spree/api/v1/images/show" }
|
@@ -0,0 +1 @@
|
|
1
|
+
Spree::Api::BaseController.append_view_path(ApplicationController.view_paths)
|
@@ -0,0 +1,27 @@
|
|
1
|
+
en:
|
2
|
+
spree:
|
3
|
+
api:
|
4
|
+
must_specify_api_key: "You must specify an API key."
|
5
|
+
invalid_api_key: "Invalid API key (%{key}) specified."
|
6
|
+
unauthorized: "You are not authorized to perform that action."
|
7
|
+
invalid_resource: "Invalid resource. Please fix errors and try again."
|
8
|
+
resource_not_found: "The resource you were looking for could not be found."
|
9
|
+
gateway_error: "There was a problem with the payment gateway: %{text}"
|
10
|
+
access: "API Access"
|
11
|
+
key: "Key"
|
12
|
+
clear_key: "Clear key"
|
13
|
+
regenerate_key: "Regenerate Key"
|
14
|
+
no_key: "No key"
|
15
|
+
generate_key: "Generate API key"
|
16
|
+
key_generated: "Key generated"
|
17
|
+
key_cleared: "Key cleared"
|
18
|
+
order:
|
19
|
+
could_not_transition: "The order could not be transitioned. Please fix the errors and try again."
|
20
|
+
invalid_shipping_method: "Invalid shipping method specified."
|
21
|
+
payment:
|
22
|
+
credit_over_limit: "This payment can only be credited up to %{limit}. Please specify an amount less than or equal to this number."
|
23
|
+
update_forbidden: "This payment cannot be updated because it is %{state}."
|
24
|
+
shipment:
|
25
|
+
cannot_ready: "Cannot ready shipment."
|
26
|
+
stock_location_required: "A stock_location_id parameter must be provided in order to retrieve stock movements."
|
27
|
+
invalid_taxonomy_id: "Invalid taxonomy id."
|