Checkout
Última actualización
Última actualización
Es la entidad que gestiona los distintos procesos de un pedido creado anteriormente.
Un pedido antes de poder estar listo debe pasar por 4 procesos que son:
Carrito (estado por defecto al crearse un pedido)
Direcciones
EnvÃo
Pago
Culminación del pedido
Para poder avanzar entre un proceso y otro se debe utilizar el endpoint de avanzar pedido En el paso 4, debemos agregar un metodo de pago utilizando el endpoint de agregar metodo de pago, para luego continuar con avanzar pedidos hasta culminar con el proceso.
PUT
https://tiendagoshop.com/api/v1/checkouts/:order_number/next
Este endpoint permite ir avanzando por los diferentes procesos de un pedido.
Name | Type | Description |
---|---|---|
{
"products": [
{
"id": 48,
"name": "PISCINA BESTWAY RIGIDA",
"description": "<p>PISCINA BESTWAY RIGIDA 8 X 26</p>",
"price": "123000.0",
"display_price": "RD$ 123,000.00",
"available_on": "2021-08-12T00:00:00.000-04:00",
"slug": "piscina-bestway-rigida",
"meta_description": null,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
2
],
"total_on_hand": "200.0",
"avg_rating": "3.0",
"reviews_count": 1,
"master": {
"id": 72,
"name": "PISCINA BESTWAY RIGIDA",
"sku": "PISCINA BESTWAY RIGIDA",
"price": "123000.0",
"weight": "0.0",
"height": null,
"width": null,
"depth": null,
"is_master": true,
"slug": "piscina-bestway-rigida",
"description": "<p>PISCINA BESTWAY RIGIDA 8 X 26</p>",
"track_inventory": true,
"cost_price": "123000.0",
"gd_size_reference": "document",
"decimal_quantity_step": "1.0",
"option_values": [],
"images": [
{
"id": 140,
"position": 1,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 72,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYWs9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8cd1a09652d602afcb0e740a8013c7e44205bcf2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/1.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYWs9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8cd1a09652d602afcb0e740a8013c7e44205bcf2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/1.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYWs9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8cd1a09652d602afcb0e740a8013c7e44205bcf2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/1.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYWs9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--8cd1a09652d602afcb0e740a8013c7e44205bcf2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/1.jpg"
}
],
"display_price": "RD$ 123,000.00",
"options_text": "",
"in_stock": true,
"is_backorderable": false,
"is_orderable": true,
"total_on_hand": "200.0",
"is_destroyed": false
},
"variants": [],
"option_types": [
{
"id": 5,
"name": "Color",
"presentation": "Color",
"position": 2
}
],
"product_properties": [],
"classifications": [
{
"taxon_id": 2,
"position": 12,
"taxon": {
"id": 2,
"name": "Ofertas",
"pretty_name": "Categorias -> Ofertas",
"permalink": "categorias/ofertas",
"parent_id": 1,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null,
"ext_id": null,
"ext_name": null,
"taxons": [
{
"id": 45,
"name": "Guitarra",
"pretty_name": "Categorias -> Ofertas -> Guitarra",
"permalink": "categorias/ofertas/guitarra",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 37,
"name": "Violin",
"pretty_name": "Categorias -> Ofertas -> Violin",
"permalink": "categorias/ofertas/violin",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 11,
"name": "Pianos",
"pretty_name": "Categorias -> Ofertas -> Pianos",
"permalink": "categorias/ofertas/pianos",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 42,
"name": "bateria",
"pretty_name": "Categorias -> Ofertas -> bateria",
"permalink": "categorias/ofertas/bateria",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
}
]
}
}
],
"related_products": [],
"has_variants": false
},
{
"id": 49,
"name": "Luz de led tipo plafón redonda de superficie ",
"description": "",
"price": "505.0",
"display_price": "RD$ 505.00",
"available_on": "2021-08-12T00:00:00.000-04:00",
"slug": "luz-de-led-tipo-plafon-redonda-de-superficie",
"meta_description": null,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
2
],
"total_on_hand": "1100.0",
"avg_rating": "0.0",
"reviews_count": 0,
"master": {
"id": 73,
"name": "Luz de led tipo plafón redonda de superficie ",
"sku": "Luz de led tipo plafón redonda de superficie ",
"price": "505.0",
"weight": "0.0",
"height": null,
"width": null,
"depth": null,
"is_master": true,
"slug": "luz-de-led-tipo-plafon-redonda-de-superficie",
"description": "",
"track_inventory": true,
"cost_price": null,
"gd_size_reference": "",
"decimal_quantity_step": "1.0",
"option_values": [],
"images": [
{
"id": 141,
"position": 1,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 73,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYW89IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e74173f36eab81fb4f727bea30589c99b7f823cc/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/2.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYW89IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e74173f36eab81fb4f727bea30589c99b7f823cc/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/2.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYW89IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e74173f36eab81fb4f727bea30589c99b7f823cc/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/2.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYW89IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e74173f36eab81fb4f727bea30589c99b7f823cc/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/2.jpg"
}
],
"display_price": "RD$ 505.00",
"options_text": "",
"in_stock": true,
"is_backorderable": false,
"is_orderable": true,
"total_on_hand": "1100.0",
"is_destroyed": false
},
"variants": [],
"option_types": [
{
"id": 6,
"name": "Tamaño",
"presentation": "Tamaño",
"position": 3
}
],
"product_properties": [],
"classifications": [
{
"taxon_id": 2,
"position": 13,
"taxon": {
"id": 2,
"name": "Ofertas",
"pretty_name": "Categorias -> Ofertas",
"permalink": "categorias/ofertas",
"parent_id": 1,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null,
"ext_id": null,
"ext_name": null,
"taxons": [
{
"id": 45,
"name": "Guitarra",
"pretty_name": "Categorias -> Ofertas -> Guitarra",
"permalink": "categorias/ofertas/guitarra",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 37,
"name": "Violin",
"pretty_name": "Categorias -> Ofertas -> Violin",
"permalink": "categorias/ofertas/violin",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 11,
"name": "Pianos",
"pretty_name": "Categorias -> Ofertas -> Pianos",
"permalink": "categorias/ofertas/pianos",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 42,
"name": "bateria",
"pretty_name": "Categorias -> Ofertas -> bateria",
"permalink": "categorias/ofertas/bateria",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
}
]
}
}
],
"related_products": [],
"has_variants": false
},
{
"id": 57,
"name": " Abrazadera para manguera en acero inoxidable ",
"description": "",
"price": "73.72",
"display_price": "RD$ 73.72",
"available_on": "2021-08-12T00:00:00.000-04:00",
"slug": "abrazadera-para-manguera-en-acero-inoxidable",
"meta_description": null,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
2
],
"total_on_hand": "999.0",
"avg_rating": "0.0",
"reviews_count": 0,
"master": {
"id": 81,
"name": " Abrazadera para manguera en acero inoxidable ",
"sku": "PT510",
"price": "73.72",
"weight": "0.0",
"height": null,
"width": null,
"depth": null,
"is_master": true,
"slug": "abrazadera-para-manguera-en-acero-inoxidable",
"description": "",
"track_inventory": true,
"cost_price": "74.0",
"gd_size_reference": "",
"decimal_quantity_step": "1.0",
"option_values": [],
"images": [
{
"id": 149,
"position": 1,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 81,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYkk9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c1fbb7f734a367a316111653e839ab67de91ee1a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/10.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYkk9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c1fbb7f734a367a316111653e839ab67de91ee1a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/10.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYkk9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c1fbb7f734a367a316111653e839ab67de91ee1a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/10.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBYkk9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c1fbb7f734a367a316111653e839ab67de91ee1a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/10.jpg"
}
],
"display_price": "RD$ 73.72",
"options_text": "",
"in_stock": true,
"is_backorderable": false,
"is_orderable": true,
"total_on_hand": "999.0",
"is_destroyed": false
},
"variants": [],
"option_types": [
{
"id": 6,
"name": "Tamaño",
"presentation": "Tamaño",
"position": 3
}
],
"product_properties": [],
"classifications": [
{
"taxon_id": 2,
"position": 21,
"taxon": {
"id": 2,
"name": "Ofertas",
"pretty_name": "Categorias -> Ofertas",
"permalink": "categorias/ofertas",
"parent_id": 1,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null,
"ext_id": null,
"ext_name": null,
"taxons": [
{
"id": 45,
"name": "Guitarra",
"pretty_name": "Categorias -> Ofertas -> Guitarra",
"permalink": "categorias/ofertas/guitarra",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 37,
"name": "Violin",
"pretty_name": "Categorias -> Ofertas -> Violin",
"permalink": "categorias/ofertas/violin",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 11,
"name": "Pianos",
"pretty_name": "Categorias -> Ofertas -> Pianos",
"permalink": "categorias/ofertas/pianos",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
},
{
"id": 42,
"name": "bateria",
"pretty_name": "Categorias -> Ofertas -> bateria",
"permalink": "categorias/ofertas/bateria",
"parent_id": 2,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null
}
]
}
}
],
"related_products": [],
"has_variants": false
},
{
"id": 21,
"name": "Hidrolavadora eléctrica de 1800 psi ",
"description": "",
"price": "350.0",
"display_price": "RD$ 350.00",
"available_on": "2021-07-22T00:00:00.000-04:00",
"slug": "hidrolavadora-electrica-de-1800-psi",
"meta_description": null,
"meta_keywords": null,
"shipping_category_id": 1,
"taxon_ids": [
3
],
"total_on_hand": 0,
"avg_rating": "3.0",
"reviews_count": 1,
"master": {
"id": 38,
"name": "Hidrolavadora eléctrica de 1800 psi ",
"sku": "",
"price": "350.0",
"weight": "0.0",
"height": null,
"width": null,
"depth": null,
"is_master": true,
"slug": "hidrolavadora-electrica-de-1800-psi",
"description": "",
"track_inventory": true,
"cost_price": "400.0",
"gd_size_reference": "medium",
"decimal_quantity_step": "1.0",
"option_values": [],
"images": [
{
"id": 111,
"position": 1,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 38,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHM9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2fd3d0ea8a37702f0a47e3ed6afa8f114ba714f2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/3.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHM9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2fd3d0ea8a37702f0a47e3ed6afa8f114ba714f2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/3.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHM9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2fd3d0ea8a37702f0a47e3ed6afa8f114ba714f2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/3.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHM9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--2fd3d0ea8a37702f0a47e3ed6afa8f114ba714f2/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/3.jpg"
},
{
"id": 112,
"position": 1,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 38,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBmdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e1f2fb9986eddd4e681365a3eab1870ab5f61bdb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/4.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBmdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e1f2fb9986eddd4e681365a3eab1870ab5f61bdb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/4.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBmdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e1f2fb9986eddd4e681365a3eab1870ab5f61bdb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/4.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBmdz09IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e1f2fb9986eddd4e681365a3eab1870ab5f61bdb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/4.jpg"
},
{
"id": 113,
"position": 2,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 38,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHc9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c2c6034fdac0008433e6c76116f9709191e339fb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/2.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHc9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c2c6034fdac0008433e6c76116f9709191e339fb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/2.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHc9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c2c6034fdac0008433e6c76116f9709191e339fb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/2.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWHc9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c2c6034fdac0008433e6c76116f9709191e339fb/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/2.jpg"
},
{
"id": 114,
"position": 3,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 38,
"mini_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWDA9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f296e0b5c57ccc1263771a08c514d15ae1ed804a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lMTkRoNE5EZytCam9HUlZRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--cb0f2b531c62670bf1c5e0d1c489e2b7c650b66c/1.jpg",
"small_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWDA9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f296e0b5c57ccc1263771a08c514d15ae1ed804a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTVRBd2VERXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--361864c475f0f86c6a8176add86144902e2b8754/1.jpg",
"product_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWDA9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f296e0b5c57ccc1263771a08c514d15ae1ed804a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTWpRd2VESTBNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--f1f1c60e226e6a85eb40a730ec4e71226c47c829/1.jpg",
"large_url": "http://fego.goshop.test:5000/rails/active_storage/representations/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBWDA9IiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--f296e0b5c57ccc1263771a08c514d15ae1ed804a/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCam9MY21WemFYcGxTU0lOTmpBd2VEWXdNRDRHT2daRlZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--199a7b8adb909ca2106c9aed6b140a2603b4dc82/1.jpg"
}
],
"display_price": "RD$ 350.00",
"options_text": "",
"in_stock": false,
"is_backorderable": false,
"is_orderable": false,
"total_on_hand": "0.0",
"is_destroyed": false
},
"variants": [],
"option_types": [],
"product_properties": [],
"classifications": [
{
"taxon_id": 3,
"position": 14,
"taxon": {
"id": 3,
"name": "Guitarras/Bajos",
"pretty_name": "Categorias -> Guitarras/Bajos",
"permalink": "categorias/guitarras-slash-bajos",
"parent_id": 1,
"taxonomy_id": 1,
"meta_title": null,
"meta_description": null,
"ext_id": null,
"ext_name": null,
"taxons": []
}
}
],
"related_products": [],
"has_variants": false
}
],
"count": 4,
"total_count": 4,
"current_page": 1,
"per_page": 25,
"pages": 1
}
PUT
https://tiendagoshop.com/api/v1/checkouts/:order_number.json
Agrega un metodo de pago existente al pedido.
// Request
{
"order": {
"payments_attributes": [
{
"payment_method_id": 12
}
]
}
}
//Response
{
"id": 354,
"number": "R120120251",
"item_total": "1000.0",
"total": "1000.0",
"ship_total": "0.0",
"state": "payment",
"adjustment_total": "0.0",
"user_id": 1,
"created_at": "2022-04-05T00:32:46.848-04:00",
"updated_at": "2022-04-05T00:33:17.040-04:00",
"completed_at": "2022-04-04T04:45:30.000-04:00",
"payment_total": "0.0",
"shipment_state": "pending",
"payment_state": "balance_due",
"email": "hi@getvendo.com",
"special_instructions": "Necesito que envien en horario nocturno. Gracias.",
"channel": "API Goshop",
"included_tax_total": "152.54",
"additional_tax_total": "0.0",
"display_included_tax_total": "RD$ 152.54",
"display_additional_tax_total": "RD$ 0.00",
"tax_total": "152.54",
"currency": "DOP",
"considered_risky": false,
"canceler_id": null,
"display_item_total": "RD$ 1,000.00",
"total_quantity": "1.0",
"display_total": "RD$ 1,000.00",
"display_ship_total": "RD$ 0.00",
"display_tax_total": "RD$ 152.54",
"display_adjustment_total": "RD$ 0.00",
"token": "ZqE1jhhazMxxDx_6OPDI7w1649133166849",
"checkout_steps": [
"address",
"delivery",
"payment",
"complete"
],
"payment_methods": [
{
"id": 12,
"name": "Transferencia",
"method_type": "check"
},
{
"id": 20,
"name": "Cardnet 3ds test",
"method_type": "botonundostrespagosgateway"
}
],
"bill_address": {
"id": 1733,
"firstname": "John",
"lastname": "Doe",
"full_name": "John Doe",
"address1": "7735 Old Georgetown Road",
"address2": null,
"city": "Bethesda",
"zipcode": null,
"phone": "3014445002",
"company": null,
"alternative_phone": null,
"country_id": 1,
"state_id": 1,
"label": null,
"state_name": null,
"state_text": "01",
"address_type": null,
"rnc": null,
"fiscal_type": null,
"last_used": null,
"geo_address": null,
"geo_lat": null,
"geo_lng": null,
"user_id": null,
"country": {
"id": 1,
"iso_name": "DOMINICAN REPUBLIC",
"iso": "DO",
"iso3": "DOM",
"name": "Dominican Republic",
"numcode": 214
},
"state": {
"id": 1,
"name": "Distrito Nacional (Santo Domingo)",
"abbr": "01",
"country_id": 1
}
},
"ship_address": {
"id": 1733,
"firstname": "John",
"lastname": "Doe",
"full_name": "John Doe",
"address1": "7735 Old Georgetown Road",
"address2": null,
"city": "Bethesda",
"zipcode": null,
"phone": "3014445002",
"company": null,
"alternative_phone": null,
"country_id": 1,
"state_id": 1,
"label": null,
"state_name": null,
"state_text": "01",
"address_type": null,
"rnc": null,
"fiscal_type": null,
"last_used": null,
"geo_address": null,
"geo_lat": null,
"geo_lng": null,
"user_id": null,
"country": {
"id": 1,
"iso_name": "DOMINICAN REPUBLIC",
"iso": "DO",
"iso3": "DOM",
"name": "Dominican Republic",
"numcode": 214
},
"state": {
"id": 1,
"name": "Distrito Nacional (Santo Domingo)",
"abbr": "01",
"country_id": 1
}
},
"line_items": [
{
"id": 556,
"quantity": "1.0",
"price": "1000.0",
"variant_id": 509,
"variant": {
"product_id": 434,
"id": 509,
"name": "Peluche p/ perros",
"sku": "8989",
"price": "1000.0",
"weight": "1.0",
"height": null,
"width": null,
"depth": null,
"is_master": true,
"slug": "pollo-de-corral",
"description": "",
"track_inventory": true,
"cost_price": "1250.0",
"gd_size_reference": "document",
"decimal_quantity_step": "1.0",
"option_values": [],
"images": [
{
"id": 247,
"position": 1,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 509,
"mini_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVlCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e4ec86885ce9ef9ce8897a23b4bb019535361279/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWdzME9IZzBPRDRHT3daVSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--2f1b2cae634146e891b3c296278cd9d1548a7afd/petmarket.jpeg",
"small_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVlCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e4ec86885ce9ef9ce8897a23b4bb019535361279/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWcweE1EQjRNVEF3UGdZN0JsUT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--6b13ad18266c7375177a3c77e3075750ba2ffcc0/petmarket.jpeg",
"product_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVlCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e4ec86885ce9ef9ce8897a23b4bb019535361279/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWcweU5EQjRNalF3UGdZN0JsUT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--0dca4744e165205c4e78d1faa31afdc856bed168/petmarket.jpeg",
"large_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdVlCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--e4ec86885ce9ef9ce8897a23b4bb019535361279/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWcwMk1EQjROakF3UGdZN0JsUT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--27fe3250808b0a95142813596859c3f064cf5966/petmarket.jpeg"
},
{
"id": 248,
"position": 2,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 509,
"mini_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWNCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d19e9a43bea7fd8d59ae91f9e8032989a57b15c5/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2QzNKbGMybDZaVWtpQ3pRNGVEUTRQZ1k3QmxRPSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--7b28929397790ee66b7cc4c7f09b8a5afc2f8498/petmarket31.png",
"small_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWNCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d19e9a43bea7fd8d59ae91f9e8032989a57b15c5/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2QzNKbGMybDZaVWtpRFRFd01IZ3hNREErQmpzR1ZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--63f162083ed317c256ddb1068727755a332b26c5/petmarket31.png",
"product_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWNCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d19e9a43bea7fd8d59ae91f9e8032989a57b15c5/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2QzNKbGMybDZaVWtpRFRJME1IZ3lOREErQmpzR1ZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--44c4c36e97ceca3fb66796bbf810402e688122c1/petmarket31.png",
"large_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWNCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--d19e9a43bea7fd8d59ae91f9e8032989a57b15c5/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lJY0c1bkJqb0dSVlE2QzNKbGMybDZaVWtpRFRZd01IZzJNREErQmpzR1ZBPT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--ffc144c7539038c8d24daab34ce2b2c2712710e1/petmarket31.png"
},
{
"id": 249,
"position": 3,
"attachment_content_type": null,
"attachment_file_name": null,
"type": null,
"attachment_updated_at": null,
"attachment_width": null,
"attachment_height": null,
"alt": null,
"viewable_type": "Spree::Variant",
"viewable_id": 509,
"mini_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c51db43cf65a890fa8ec2935e7cdc408e0d1a8d6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWdzME9IZzBPRDRHT3daVSIsImV4cCI6bnVsbCwicHVyIjoidmFyaWF0aW9uIn19--2f1b2cae634146e891b3c296278cd9d1548a7afd/petmarket1.jpeg",
"small_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c51db43cf65a890fa8ec2935e7cdc408e0d1a8d6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWcweE1EQjRNVEF3UGdZN0JsUT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--6b13ad18266c7375177a3c77e3075750ba2ffcc0/petmarket1.jpeg",
"product_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c51db43cf65a890fa8ec2935e7cdc408e0d1a8d6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWcweU5EQjRNalF3UGdZN0JsUT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--0dca4744e165205c4e78d1faa31afdc856bed168/petmarket1.jpeg",
"large_url": "http://test8.goshop.test:5000/rails/active_storage/representations/proxy/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaHBBdWdCIiwiZXhwIjpudWxsLCJwdXIiOiJibG9iX2lkIn19--c51db43cf65a890fa8ec2935e7cdc408e0d1a8d6/eyJfcmFpbHMiOnsibWVzc2FnZSI6IkJBaDdCem9MWm05eWJXRjBTU0lKYW5CbFp3WTZCa1ZVT2d0eVpYTnBlbVZKSWcwMk1EQjROakF3UGdZN0JsUT0iLCJleHAiOm51bGwsInB1ciI6InZhcmlhdGlvbiJ9fQ==--27fe3250808b0a95142813596859c3f064cf5966/petmarket1.jpeg"
}
],
"display_price": "RD$ 1,000.00",
"options_text": "",
"in_stock": true,
"is_backorderable": false,
"is_orderable": true,
"total_on_hand": "130.0",
"is_destroyed": false
},
"adjustments": [
{
"id": 3712,
"source_type": "Spree::TaxRate",
"source_id": 1,
"adjustable_type": "Spree::LineItem",
"adjustable_id": 556,
"amount": "152.54",
"label": "ITBIS 18% (incluido)",
"mandatory": null,
"eligible": true,
"created_at": "2022-04-05T00:33:05.852-04:00",
"updated_at": "2022-04-05T00:33:16.578-04:00",
"display_amount": "RD$ 152.54"
}
],
"single_display_amount": "RD$ 1,000.00",
"display_amount": "RD$ 1,000.00",
"total": "1000.0"
}
],
"payments": [
{
"id": 531,
"source_type": null,
"source_id": null,
"amount": "1000.0",
"display_amount": "RD$ 1,000.00",
"payment_method_id": 12,
"state": "checkout",
"avs_response": null,
"created_at": "2022-04-05T00:33:15.929-04:00",
"updated_at": "2022-04-05T00:33:15.929-04:00",
"number": "P1XOUIYO",
"payment_method": {
"id": 12,
"name": "Transferencia"
},
"source": null
}
],
"shipments": [
{
"id": 793,
"tracking": null,
"number": "H19586346761",
"cost": "0.0",
"shipped_at": null,
"state": "pending",
"shipping_rates": [
{
"id": 2242,
"name": "Lista de regalos",
"cost": "0.0",
"selected": true,
"shipping_method_id": 2,
"shipping_method_code": "giftregistry",
"display_cost": "RD$ 0.00"
}
],
"selected_shipping_rate": {
"id": 2242,
"name": "Lista de regalos",
"cost": "0.0",
"selected": true,
"shipping_method_id": 2,
"shipping_method_code": "giftregistry",
"display_cost": "RD$ 0.00"
},
"shipping_methods": [
{
"id": 2,
"code": "giftregistry",
"name": "Lista de regalos",
"zones": [
{
"id": 1,
"name": "República Dominicana",
"description": ""
},
{
"id": 2,
"name": "Venezuela",
"description": "Venezuela"
}
],
"shipping_categories": [
{
"id": 1,
"name": "Estándar"
},
{
"id": 2,
"name": "Zoom"
}
]
}
],
"manifest": [
{
"variant_id": 509,
"quantity": "1.0",
"states": {
"on_hand": "1.0"
}
}
],
"adjustments": [],
"order_id": "R120120251",
"stock_location_name": "Almacen 3"
}
],
"adjustments": [],
"credit_cards": [],
"permissions": {