Files
salvato.newfreeplanet/docs/ok2.json
Surya Paolo 822585cf33 - Creazione "AbitareGliIblei"
- Mappa Interattiva con i markers
2024-07-31 15:02:30 +02:00

388 lines
11 KiB
JSON

Iniziato: 2024-07-11 14: 52: 24
<br>updatecreate: check se ARRIVATO ORDINE test processing
<br>updatecreate: ARRIVATO ORDINE test processing
<br>{
"id": 68131,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-11T14:51:36",
"date_modified": "2024-07-11T14:51:40",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"customer_id": 81,
"order_key": "wc_order_X4yqmcVNYAr21",
"billing": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"email": "surya@riso.app",
"phone": null
},
"shipping": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "172.70.90.205",
"customer_user_agent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": null,
"date_paid": "2024-07-11T14:51:40",
"cart_hash": "df374a92c5ab9fc0895aea1509930d7f",
"number": "68131",
"meta_data": [
{
"id": 1382974,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1382975,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1382976,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1382977,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 210,
"name": "Cos\u00ec come sei! - Nuovo",
"product_id": 64524,
"variation_id": 64525,
"quantity": 1,
"tax_class": null,
"subtotal": "9.98",
"subtotal_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1801,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1808,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21897",
"price": 9.975,
"image": {
"id": 65079,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2024\/04\/cosi-come-sei.jpg"
},
"parent_name": "Cos\u00ec come sei!"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 211,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1807,
"key": "Prodotti",
"value": "Cos\u00ec come sei! - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Cos\u00ec come sei! - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68131\/?pay_for_order=true&key=wc_order_X4yqmcVNYAr21",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-11T12:51:36",
"date_modified_gmt": "2024-07-11T12:51:40",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-11T12:51:40",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68131"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/81"
}
]
}
}
<br>myidInternet=68131
<br>Creazione Ordine... codice=68131
<br>Order: {
"IdInternet": 68131,
"CodClienteInternet": 81,
"Enabled": 1,
"DataOra": "2024-07-11T14:51:36",
"Note": null,
"Totale": "9.98",
"Spedizioniere": "GLS",
"ImportoSpedizione": "0.00",
"id": 0
}
<br>$orderdetail->CodArticoloGM= 21897
<br>sku=21897
<br>Dettaglio Ordine: {
"IdInternet": 68131,
"CodArticoloGM": 21897,
"Qta": 1,
"PrezzoLordo": "9.98",
"Enabled": 1,
"DataOra": "2024-07-11T14:51:36",
"id": 45
}
<br>Cerco il customer_id: 81
<br>crea Cliente: TEST PAOLO TEST PAOLO
<br> ...fine compilazione campi Cliente{
"CodClienteInternet": 81,
"Nominativo": "TEST PAOLO TEST PAOLO",
"Indirizzo": "TEST DI PAOLO NON SPEDIRE ",
"Citta": "ROMA",
"Cap": "47900",
"Provincia": "RM",
"Telefono": "",
"Email": "surya@riso.app",
"IdNazione": 227,
"CodiceFiscale": "",
"PIVA": "",
"IdInternet": 68131
}
<br>Salvato Cliente: {
"CodClienteInternet": 81,
"Nominativo": "TEST PAOLO TEST PAOLO",
"Indirizzo": "TEST DI PAOLO NON SPEDIRE ",
"Citta": "ROMA",
"Cap": "47900",
"Provincia": "RM",
"Telefono": "",
"Email": "surya@riso.app",
"IdNazione": 227,
"CodiceFiscale": "",
"PIVA": "",
"IdInternet": 68131
}
<br>Inserito ordine !
<br>{
"id": 68131,
"parent_id": 0,
"status": "processing",
"currency": "EUR",
"version": "9.0.2",
"prices_include_tax": true,
"date_created": "2024-07-11T14:51:36",
"date_modified": "2024-07-11T14:51:40",
"discount_total": "0.00",
"discount_tax": "0.00",
"shipping_total": "0.00",
"shipping_tax": "0.00",
"cart_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"customer_id": 81,
"order_key": "wc_order_X4yqmcVNYAr21",
"billing": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"email": "surya@riso.app",
"phone": null
},
"shipping": {
"first_name": "TEST PAOLO",
"last_name": "TEST PAOLO",
"company": null,
"address_1": "TEST DI PAOLO NON SPEDIRE",
"address_2": null,
"city": "ROMA",
"state": "RM",
"postcode": "47900",
"country": "IT",
"phone": null
},
"payment_method": "test",
"payment_method_title": "Test Pagamento per PROVE",
"transaction_id": null,
"customer_ip_address": "172.70.90.205",
"customer_user_agent": "Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/126.0.0.0 Safari\/537.36",
"created_via": "checkout",
"customer_note": null,
"date_completed": null,
"date_paid": "2024-07-11T14:51:40",
"cart_hash": "df374a92c5ab9fc0895aea1509930d7f",
"number": "68131",
"meta_data": [
{
"id": 1382974,
"key": "is_vat_exempt",
"value": "no"
},
{
"id": 1382975,
"key": "yaydp_product_pricing_rules",
"value": []
},
{
"id": 1382976,
"key": "yaydp_cart_discount_rules",
"value": []
},
{
"id": 1382977,
"key": "yaydp_checkout_fee_rules",
"value": []
}
],
"line_items": [
{
"id": 210,
"name": "Cos\u00ec come sei! - Nuovo",
"product_id": 64524,
"variation_id": 64525,
"quantity": 1,
"tax_class": null,
"subtotal": "9.98",
"subtotal_tax": "0.00",
"total": "9.98",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1801,
"key": "pa_versione",
"value": "nuovo",
"display_key": "Versione",
"display_value": "Nuovo"
},
{
"id": 1808,
"key": "_reduced_stock",
"value": "1",
"display_key": "_reduced_stock",
"display_value": "1"
}
],
"sku": "21897",
"price": 9.975,
"image": {
"id": 65079,
"src": "https:\/\/www.fioredellavita.it\/wp-content\/uploads\/2024\/04\/cosi-come-sei.jpg"
},
"parent_name": "Cos\u00ec come sei!"
}
],
"tax_lines": [],
"shipping_lines": [
{
"id": 211,
"method_title": "Spedizione gratuita",
"method_id": "free_shipping",
"instance_id": "2",
"total": "0.00",
"total_tax": "0.00",
"taxes": [],
"meta_data": [
{
"id": 1807,
"key": "Prodotti",
"value": "Cos\u00ec come sei! - Nuovo &times; 1",
"display_key": "Prodotti",
"display_value": "Cos\u00ec come sei! - Nuovo &times; 1"
}
]
}
],
"fee_lines": [],
"coupon_lines": [],
"refunds": [],
"payment_url": "https:\/\/www.fioredellavita.it\/pagamento\/order-pay\/68131\/?pay_for_order=true&key=wc_order_X4yqmcVNYAr21",
"is_editable": false,
"needs_payment": false,
"needs_processing": true,
"date_created_gmt": "2024-07-11T12:51:36",
"date_modified_gmt": "2024-07-11T12:51:40",
"date_completed_gmt": null,
"date_paid_gmt": "2024-07-11T12:51:40",
"currency_symbol": "\u20ac",
"_links": {
"self": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders\/68131"
}
],
"collection": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/orders"
}
],
"customer": [
{
"href": "https:\/\/www.fioredellavita.it\/wp-json\/wc\/v3\/customers\/81"
}
]
}
}