------------------------------------ START --------------------------------------------
User: 182.65.153.45 - June 9, 2021, 6:28 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.10631fd41141e3cc97849756b279d898.7673ad5b8c597c98cf1b2d58f195e972

Empty Request..

--------------------------------- END -----------------------------------
------------------------------------ START --------------------------------------------
User: 182.65.153.45 - June 9, 2021, 6:38 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.77a4fe85c4e29eb4fab9478a6f7d3308.0ca9469cf68464fa83a2c61aabedf564

Empty Request..

--------------------------------- END -----------------------------------
------------------------------------ START --------------------------------------------
User: 182.65.153.45 - June 9, 2021, 6:41 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.7cdfbe100376efdb4c0f6a3cc1609c49.86c83078f608e06787ca8a09e22fbb70

Empty Request..

--------------------------------- END -----------------------------------
------------------------------------ START --------------------------------------------
User: 182.65.153.45 - June 9, 2021, 6:57 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.91aee9ee8e9837c42e641030c2be35b2.d133943a83da8c46981fcd67fb478443

Empty Request..

--------------------------------- END -----------------------------------
------------------------------------ START --------------------------------------------
User: 34.75.32.53 - June 9, 2021, 7:05 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.443e5b7d99c2458e3fbfd9b512bff224.a8fcfdc626fb6a542c01c43e6db127fa

draft_detail:
{"id":890612572568261625,"note":null,"email":"jon@doe.ca","taxes_included":false,"currency":"EUR","invoice_sent_at":null,"created_at":"2021-06-09T16:35:14+03:00","updated_at":"2021-06-09T16:35:14+03:00","tax_exempt":false,"completed_at":null,"name":"#D234","status":"open","line_items":[{"id":null,"variant_id":33614148436106,"product_id":4987156463754,"title":"Amazing Matte Mattatuote viimeistelyyn","variant_title":null,"sku":"670959111418","vendor":"Jane Iredale","quantity":3,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":48,"tax_lines":[],"applied_discount":null,"name":"Amazing Matte Mattatuote viimeistelyyn","properties":[],"custom":false,"price":"43.95"},{"id":null,"variant_id":40316939796646,"product_id":6833253548198,"title":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","variant_title":null,"sku":"670959113894","vendor":"Jane Iredale","quantity":1,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":0,"tax_lines":[],"applied_discount":null,"name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","properties":[],"custom":false,"price":"48.95"},{"id":null,"variant_id":40316939796646,"product_id":6833253548198,"title":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","variant_title":null,"sku":"670959113894","vendor":"Jane Iredale","quantity":10,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":0,"tax_lines":[],"applied_discount":{"description":"bulk discount","value":"10.0","title":"Bulk Discount","amount":"48.95","value_type":"percentage"},"name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","properties":[],"custom":false,"price":"48.95"}],"shipping_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40150","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"billing_address":{"first_name":"Bob","address1":"123 Billing Street","phone":"555-555-BILL","city":"Billtown","zip":"K2P0B0","province":"Kentucky","country":"United States","last_name":"Biller","address2":null,"company":"My Company","latitude":null,"longitude":null,"name":"Bob Biller","country_code":"US","province_code":"KY"},"invoice_url":"https:\/\/janeiredale.fi\/32963166346\/invoices\/abcd1234abcd1234abcd1234abcd1234","applied_discount":{"description":"loyalty","value":"50.0","title":"Loyalty","amount":"50.00","value_type":"fixed_amount"},"order_id":null,"shipping_line":{"title":"Generic Shipping","custom":true,"handle":null,"price":"10.00"},"tax_lines":[{"rate":0.06,"title":"Osavaltion vero","price":"7.91"},{"rate":0.06,"title":"Osavaltion vero","price":"2.94"},{"rate":0.06,"title":"Osavaltion vero","price":"26.43"}],"tags":"","note_attributes":[],"total_price":"618.63","subtotal_price":"571.35","total_tax":"0.00","admin_graphql_api_id":"gid:\/\/shopify\/ExampleDraftOrderClassMethodsExample\/890612572568261625","customer":{"id":null,"email":"john@doe.ca","accepts_marketing":false,"created_at":null,"updated_at":null,"first_name":"John","last_name":"Smith","orders_count":0,"state":"disabled","total_spent":"0.00","last_order_id":null,"note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":null,"tags":"","last_order_name":null,"currency":"EUR","accepts_marketing_updated_at":null,"marketing_opt_in_level":null,"default_address":{"id":null,"customer_id":null,"first_name":null,"last_name":null,"company":null,"address1":"123 Elm St.","address2":null,"city":"Ottawa","province":"Ontario","country":"Canada","zip":"K2H7A8","phone":"123-123-1234","name":"","province_code":"ON","country_code":"CA","country_name":"Canada","default":true}}}

search_customer_response:
{"code":0,"message":"success","contacts":[{"contact_id":"88366000007735155","contact_name":"JohnSmith","customer_name":"JohnSmith","company_name":"","website":"","language_code":"","language_code_formatted":"","contact_type":"customer","contact_type_formatted":"Customer","status":"active","customer_sub_type":"business","source":"api","is_linked_with_zohocrm":false,"payment_terms":0,"payment_terms_label":"Due On Receipt","currency_id":"88366000000000071","twitter":"","facebook":"","currency_code":"EUR","outstanding_receivable_amount":0.00,"outstanding_receivable_amount_bcy":0.00,"unused_credits_receivable_amount":0.00,"customer_credit_limit":"","first_name":"John","last_name":"Smith","email":"john@doe.ca","phone":"","mobile":"","portal_status":"disabled","created_time":"2021-06-08T14:20:46+0300","created_time_formatted":"08.06.2021","last_modified_time":"2021-06-08T14:20:46+0300","last_modified_time_formatted":"08.06.2021","custom_fields":[{"customfield_id":"88366000000205009","show_in_store":false,"show_in_portal":false,"is_active":true,"index":1,"label":"Asiakasnumero","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"201913160","search_entity":"contact","data_type":"autonumber","placeholder":"cf_asiakasnumero","value":"201913160","is_dependent_field":false},{"customfield_id":"88366000002354208","show_in_store":false,"show_in_portal":false,"is_active":true,"index":2,"label":"Customer_shopify_id","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"null","search_entity":"contact","data_type":"string","placeholder":"cf_customer_shopify_id","value":"null","is_dependent_field":false}],"cf_asiakasnumero":"201913160","cf_asiakasnumero_unformatted":"201913160","cf_customer_shopify_id":"null","cf_customer_shopify_id_unformatted":"null","custom_field_hash":{"cf_asiakasnumero":"201913160","cf_asiakasnumero_unformatted":"201913160","cf_customer_shopify_id":"null","cf_customer_shopify_id_unformatted":"null"},"ach_supported":false,"has_attachment":false}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Contacts","applied_filter":"Status.All","sort_column":"customer_name","sort_order":"A","search_criteria":[{"column_name":"email","search_text":"john@doe.ca","search_text_formatted":"john@doe.ca","comparator":"contains"}]}}

contact_list:
1

contacts:
1

search_item_response:
{"code":0,"message":"success","items":[{"item_id":"88366000000804553","name":"Amazing Matte Mattatuote viimeistelyyn","item_name":"Amazing Matte Mattatuote viimeistelyyn","category_id":"88366000000093320","category_name":"Oil Control","unit":"pcs","status":"active","source":"csv","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000000493447","description":"Amazing Matte/ Matta irtopohja","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":43.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"11019","purchase_rate":9.49,"item_type":"inventory","product_type":"goods","stock_on_hand":32.000000,"has_attachment":false,"is_returnable":true,"available_stock":32.000000,"actual_available_stock":32.000000,"sku":"670959111418","upc":"670959111418","ean":"670959111418","isbn":"","part_number":"11019","track_batch_number":false,"reorder_level":"","image_name":"75703-1E.jpg","image_type":"jpg","image_document_id":"88366000002158609","created_time":"2019-12-26T16:51:58+0200","last_modified_time":"2021-06-07T21:10:22+0300","cf_ean_code":"670959111418","cf_ean_code_unformatted":"670959111418","cf_usd_purchase_price":"7.88","cf_usd_purchase_price_unformatted":7.880000,"cf_shopify_id":"4987156463754","cf_shopify_id_unformatted":"4987156463754","cf_shopify_variant_id":"33614148436106","cf_shopify_variant_id_unformatted":"33614148436106"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959111418","search_text_formatted":"670959111418","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000000804553

search_item_response:
{"code":0,"message":"success","items":[{"item_id":"88366000007756869","name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","item_name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","category_id":"88366000000093318","category_name":"Primers","unit":"pcs","status":"active","source":"user","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000004970053","description":"Smooth Affair® Illuminating Glow heleyttävä meikin pohjustus","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":48.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"12421","purchase_rate":11.56,"item_type":"inventory","product_type":"goods","stock_on_hand":0,"has_attachment":false,"is_returnable":true,"available_stock":0,"actual_available_stock":0.000000,"sku":"670959113894","upc":"","ean":"670959113894","isbn":"","part_number":"12421","track_batch_number":false,"reorder_level":"","image_name":"SA-Illuminating 720x720.jpg","image_type":"jpg","image_document_id":"88366000007756876","created_time":"2021-06-09T11:59:11+0300","last_modified_time":"2021-06-09T16:11:29+0300","cf_ean_code":"670959113894","cf_ean_code_unformatted":"670959113894","cf_usd_purchase_price":"12.00","cf_usd_purchase_price_unformatted":12.000000,"cf_shopify_id":"6833253548198","cf_shopify_id_unformatted":"6833253548198"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959113894","search_text_formatted":"670959113894","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000007756869

search_item_response:
{"code":0,"message":"success","items":[{"item_id":"88366000007756869","name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","item_name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","category_id":"88366000000093318","category_name":"Primers","unit":"pcs","status":"active","source":"user","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000004970053","description":"Smooth Affair® Illuminating Glow heleyttävä meikin pohjustus","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":48.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"12421","purchase_rate":11.56,"item_type":"inventory","product_type":"goods","stock_on_hand":0,"has_attachment":false,"is_returnable":true,"available_stock":0,"actual_available_stock":0.000000,"sku":"670959113894","upc":"","ean":"670959113894","isbn":"","part_number":"12421","track_batch_number":false,"reorder_level":"","image_name":"SA-Illuminating 720x720.jpg","image_type":"jpg","image_document_id":"88366000007756876","created_time":"2021-06-09T11:59:11+0300","last_modified_time":"2021-06-09T16:11:29+0300","cf_ean_code":"670959113894","cf_ean_code_unformatted":"670959113894","cf_usd_purchase_price":"12.00","cf_usd_purchase_price_unformatted":12.000000,"cf_shopify_id":"6833253548198","cf_shopify_id_unformatted":"6833253548198"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959113894","search_text_formatted":"670959113894","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000007756869

Discount Price:
38.95

Line Item:
Array

create_draft_map:
{"customer_id":"88366000007735155","line_items":[{"item_id":"88366000000804553","rate":"43.95","quantity":3,"is_inclusive_tax":true},{"item_id":"88366000007756869","rate":"48.95","quantity":1,"is_inclusive_tax":true},{"item_id":"88366000007756869","name":"Smooth Affair\u00ae Illuminating Glow heleytt\u00e4v\u00e4 pohjustus","rate":38.95,"quantity":10,"is_inclusive_tax":true}],"status":"Draft","notes":null,"is_inclusive_tax":false,"custom_fields":[{"customfield_id":88366000002453110,"value":890612572568261625}],"sub_total":"571.35","total":"618.63","tax_total":"0.00"}

search_draft_ZI:
{"code":0,"message":"success","salesorders":[],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Sales Orders","applied_filter":"Status.All","sort_column":"created_time","sort_order":"D","search_criteria":[{"column_name":"cf_shopify_so_id","search_text":"890612572568261625","search_text_formatted":"890612572568261625","comparator":"equal"}]}}

sales_order_data:
JSONString=%7B%22customer_id%22%3A%2288366000007735155%22%2C%22line_items%22%3A%5B%7B%22item_id%22%3A%2288366000000804553%22%2C%22rate%22%3A%2243.95%22%2C%22quantity%22%3A3%2C%22is_inclusive_tax%22%3Atrue%7D%2C%7B%22item_id%22%3A%2288366000007756869%22%2C%22rate%22%3A%2248.95%22%2C%22quantity%22%3A1%2C%22is_inclusive_tax%22%3Atrue%7D%2C%7B%22item_id%22%3A%2288366000007756869%22%2C%22name%22%3A%22Smooth+Affair%5Cu00ae+Illuminating+Glow+heleytt%5Cu00e4v%5Cu00e4+pohjustus%22%2C%22rate%22%3A38.95%2C%22quantity%22%3A10%2C%22is_inclusive_tax%22%3Atrue%7D%5D%2C%22status%22%3A%22Draft%22%2C%22notes%22%3Anull%2C%22is_inclusive_tax%22%3Afalse%2C%22custom_fields%22%3A%5B%7B%22customfield_id%22%3A88366000002453110%2C%22value%22%3A890612572568261625%7D%5D%2C%22sub_total%22%3A%22571.35%22%2C%22total%22%3A%22618.63%22%2C%22tax_total%22%3A%220.00%22%7D

search_draft_ZI:
{"code":0,"message":"success","salesorders":[],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Sales Orders","applied_filter":"Status.All","sort_column":"created_time","sort_order":"D","search_criteria":[{"column_name":"cf_shopify_so_id","search_text":"890612572568261625","search_text_formatted":"890612572568261625","comparator":"equal"}]}}

create_sales_order_response:
{"code":0,"message":"Sales Order has been created.","salesorder":{"salesorder_id":"88366000007763002","documents":[],"zcrm_potential_id":"","zcrm_potential_name":"","salesorder_number":"SO-02495","date":"2021-06-09","offline_created_date_with_time":"","tracking_url":"","has_discount":false,"status":"draft","color_code":"","current_sub_status_id":"","current_sub_status":"draft","sub_statuses":[],"shipment_date":"","reference_number":"","customer_id":"88366000007735155","customer_name":"JohnSmith","contact_persons":[],"contact_person_details":[{"phone":"","mobile":"","last_name":"Smith","contact_person_id":"88366000007735157","first_name":"John","email":"john@doe.ca"}],"source":"Api","contact_category":"","currency_id":"88366000000000071","currency_code":"EUR","currency_symbol":"€","exchange_rate":1.00,"is_discount_before_tax":true,"discount_type":"item_level","estimate_id":"","delivery_method":"","delivery_method_id":"","is_inclusive_tax":false,"tax_rounding":"entity_level","order_status":"draft","invoiced_status":"","paid_status":"","shipped_status":"","sales_channel":"direct_sales","sales_channel_formatted":"Direct Sales","account_identifier":"","integration_id":"","is_dropshipped":false,"is_backordered":false,"is_manually_fulfilled":false,"has_qty_cancelled":false,"created_by_email":"apellis@apellis.fi","total_quantity":14,"line_items":[{"line_item_id":"88366000007763006","variant_id":"88366000000804553","track_batch_number":false,"item_id":"88366000000804553","is_returnable":true,"product_id":"88366000000804553","attribute_name1":"","attribute_name2":"","attribute_name3":"","attribute_option_name1":"","attribute_option_name2":"","attribute_option_name3":"","attribute_option_data1":"","attribute_option_data2":"","attribute_option_data3":"","is_combo_product":false,"warehouse_id":"88366000000041019","warehouse_name":"Apellis Oy","sku":"670959111418","name":"Amazing Matte Mattatuote viimeistelyyn","group_name":"Amazing Matte Mattatuote viimeistelyyn","description":"Amazing Matte/ Matta irtopohja","item_order":1,"bcy_rate":43.95,"rate":43.95,"quantity":3,"quantity_manuallyfulfilled":0,"unit":"pcs","pricebook_id":"","header_id":"","header_name":"","discount_amount":0.00,"discount":0.00,"discounts":[],"tax_id":"88366000000671292","tax_name":"VAT 24","tax_type":"tax","tax_percentage":24,"item_total":131.85,"item_sub_total":131.85,"product_type":"goods","line_item_type":"goods","item_type":"inventory","is_invoiced":false,"is_unconfirmed_product":false,"tags":[],"image_name":"75703-1E.jpg","image_type":"jpg","document_id":"88366000002158609","item_custom_fields":[],"quantity_invoiced":0,"quantity_packed":0,"quantity_shipped":0,"quantity_cancelled":0.000000,"package_details":{"length":5.900000,"width":5.900000,"height":3.200000,"weight":0.048000,"weight_unit":"kg","dimension_unit":"cm"},"quantity_invoiced_cancelled":0.000000,"quantity_returned":0},{"line_item_id":"88366000007763008","variant_id":"88366000007756869","track_batch_number":false,"item_id":"88366000007756869","is_returnable":true,"product_id":"88366000007756869","attribute_name1":"","attribute_name2":"","attribute_name3":"","attribute_option_name1":"","attribute_option_name2":"","attribute_option_name3":"","attribute_option_data1":"","attribute_option_data2":"","attribute_option_data3":"","is_combo_product":false,"warehouse_id":"88366000000041019","warehouse_name":"Apellis Oy","sku":"670959113894","name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","group_name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","description":"Smooth Affair® Illuminating Glow heleyttävä meikin pohjustus","item_order":2,"bcy_rate":48.95,"rate":48.95,"quantity":1,"quantity_manuallyfulfilled":0,"unit":"pcs","pricebook_id":"","header_id":"","header_name":"","discount_amount":0.00,"discount":0.00,"discounts":[],"tax_id":"88366000000671292","tax_name":"VAT 24","tax_type":"tax","tax_percentage":24,"item_total":48.95,"item_sub_total":48.95,"product_type":"goods","line_item_type":"goods","item_type":"inventory","is_invoiced":false,"is_unconfirmed_product":false,"tags":[],"image_name":"SA-Illuminating 720x720.jpg","image_type":"jpg","document_id":"88366000007756876","item_custom_fields":[],"quantity_invoiced":0,"quantity_packed":0,"quantity_shipped":0,"quantity_cancelled":0.000000,"package_details":{"length":2.400000,"width":5.500000,"height":13.600000,"weight":0.076000,"weight_unit":"kg","dimension_unit":"cm"},"quantity_invoiced_cancelled":0.000000,"quantity_returned":0},{"line_item_id":"88366000007763010","variant_id":"88366000007756869","track_batch_number":false,"item_id":"88366000007756869","is_returnable":true,"product_id":"88366000007756869","attribute_name1":"","attribute_name2":"","attribute_name3":"","attribute_option_name1":"","attribute_option_name2":"","attribute_option_name3":"","attribute_option_data1":"","attribute_option_data2":"","attribute_option_data3":"","is_combo_product":false,"warehouse_id":"88366000000041019","warehouse_name":"Apellis Oy","sku":"670959113894","name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","group_name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","description":"","item_order":3,"bcy_rate":38.95,"rate":38.95,"quantity":10,"quantity_manuallyfulfilled":0,"unit":"pcs","pricebook_id":"","header_id":"","header_name":"","discount_amount":0.00,"discount":0.00,"discounts":[],"tax_id":"88366000000671292","tax_name":"VAT 24","tax_type":"tax","tax_percentage":24,"item_total":389.50,"item_sub_total":389.50,"product_type":"goods","line_item_type":"goods","item_type":"inventory","is_invoiced":false,"is_unconfirmed_product":false,"tags":[],"image_name":"SA-Illuminating 720x720.jpg","image_type":"jpg","document_id":"88366000007756876","item_custom_fields":[],"quantity_invoiced":0,"quantity_packed":0,"quantity_shipped":0,"quantity_cancelled":0.000000,"package_details":{"length":2.400000,"width":5.500000,"height":13.600000,"weight":0.076000,"weight_unit":"kg","dimension_unit":"cm"},"quantity_invoiced_cancelled":0.000000,"quantity_returned":0}],"submitter_id":"","approver_id":"","submitted_date":"","submitted_by":"","price_precision":2,"is_emailed":false,"has_unconfirmed_line_item":false,"picklists":[],"purchaseorders":[],"warehouses":[{"warehouse_id":"88366000000041019","warehouse_name":"Apellis Oy","address":"Viikatetie","city":"Vantaa","state":"","country":"Finland","zip":"01640","phone":"","email":"esko.kemilainen@apellis.fi","is_primary":true,"status":"active","sales_channels":[]},{"warehouse_id":"88366000004247475","warehouse_name":"Stock 2","address":"","city":"","state":"","country":"Estonia","zip":"","phone":"","email":"","is_primary":false,"status":"active","sales_channels":[]}],"billing_address_id":"88366000007735158","billing_address":{"address":"","street2":"","city":"","state":"","zip":"","country":"","country_code":"","state_code":"","fax":"","phone":"","attention":"JohnSmith"},"shipping_address_id":"88366000007735160","shipping_address":{"address":"","street2":"","city":"","state":"","zip":"","country":"","country_code":"","state_code":"","fax":"","phone":"","attention":""},"is_test_order":false,"notes":"","terms":"","payment_terms":"","payment_terms_label":"","custom_fields":[{"customfield_id":"88366000002453110","show_in_store":false,"show_in_portal":false,"is_active":true,"index":1,"label":"shopify_so_id","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"890612572568261625","search_entity":"salesorder","data_type":"string","placeholder":"cf_shopify_so_id","value":"890612572568261625","is_dependent_field":false}],"custom_field_hash":{"cf_shopify_so_id":"890612572568261625","cf_shopify_so_id_unformatted":"890612572568261625"},"template_id":"88366000001042810","template_name":"Tarjous FI","page_width":"8.27in","page_height":"11.69in","orientation":"portrait","template_type":"compact","created_time":"2021-06-09T16:35:18+0300","last_modified_time":"2021-06-09T16:35:18+0300","created_by_id":"88366000001627005","created_date":"2021-06-09","last_modified_by_id":"88366000001627005","attachment_name":"","can_send_in_mail":false,"salesperson_id":"","salesperson_name":"","merchant_id":"","merchant_name":"","pickup_location_id":"","discount":0.00,"discount_applied_on_amount":0.00,"is_adv_tracking_in_package":false,"shipping_charge_tax_id":"","shipping_charge_tax_name":"","shipping_charge_tax_type":"","shipping_charge_tax_percentage":"","shipping_charge_tax":"","shipping_charge_exclusive_of_tax":0.000,"shipping_charge_inclusive_of_tax":0.000,"shipping_charge_tax_formatted":"","shipping_charge_exclusive_of_tax_formatted":"€0,00","shipping_charge_inclusive_of_tax_formatted":"€0,00","shipping_charge":0.00,"bcy_shipping_charge":0.00,"adjustment":0.00,"bcy_adjustment":0.00,"adjustment_description":"","roundoff_value":0.00,"transaction_rounding_type":"no_rounding","sub_total":570.30,"bcy_sub_total":570.30,"sub_total_inclusive_of_tax":0.00,"sub_total_exclusive_of_discount":570.30,"discount_total":0.00,"bcy_discount_total":0.00,"discount_percent":0.00,"tax_total":136.87,"bcy_tax_total":136.87,"total":707.17,"bcy_total":707.170,"taxes":[{"tax_name":"VAT 24 (24%)","tax_amount":136.87}],"packages":[],"invoices":[],"salesreturns":[],"payments":[],"creditnotes":[],"refunds":[],"balance":707.17,"approvers_list":[]}}

--------------------------------- END -----------------------------------
------------------------------------ START --------------------------------------------
User: 35.237.190.133 - June 9, 2021, 7:08 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.019fc3d10a047718269c311ec79cac7b.eb58165615afbbbffc1e4def7d106863

draft_detail:
{"id":856366153894,"note":"Wholesale Order: Apell","email":"esko@apellis.ee","taxes_included":true,"currency":"EUR","invoice_sent_at":"2021-06-09T16:38:57+03:00","created_at":"2021-06-09T16:38:56+03:00","updated_at":"2021-06-09T16:38:57+03:00","tax_exempt":false,"completed_at":null,"name":"#D622","status":"invoice_sent","line_items":[{"id":57149767581862,"variant_id":33643060134026,"product_id":5002807804042,"title":"TRIPLELUXE Huulipuna","variant_title":"Ellen","sku":"670959231727","vendor":"Jane Iredale","quantity":1,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":35,"tax_lines":[{"rate":0.24,"title":"FI VAT","price":"4.00"}],"applied_discount":{"description":"Wholesale Price","value":"16.26","title":"Wholesale Discount","amount":"16.26","value_type":"fixed_amount"},"name":"TRIPLELUXE Huulipuna - Ellen","properties":[],"custom":false,"price":"36.95","admin_graphql_api_id":"gid:\/\/shopify\/DraftOrderLineItem\/57149767581862"}],"shipping_address":{"first_name":"Esko","address1":"Viikatetie","phone":"+10400315908","city":"Vantaa","zip":"01640","province":"","country":"Finland","last_name":"Kemiläinen","address2":"41b","company":"Apell","latitude":60.2483726,"longitude":24.8025846,"name":"Esko Kemiläinen","country_code":"FI","province_code":null},"billing_address":null,"invoice_url":"https:\/\/janeiredale.fi\/32963166346\/invoices\/b7d3b510f0bafa9981cade31c0a238fa","applied_discount":null,"order_id":null,"shipping_line":null,"tax_lines":[{"rate":0.24,"title":"FI VAT","price":"4.00"}],"tags":"Iredale_JM, wholesale","note_attributes":[],"total_price":"20.69","subtotal_price":"20.69","total_tax":"4.00","admin_graphql_api_id":"gid:\/\/shopify\/DraftOrder\/856366153894","customer":{"id":4043425939622,"email":"esko@apellis.ee","accepts_marketing":false,"created_at":"2020-09-08T16:07:48+03:00","updated_at":"2020-09-08T16:09:29+03:00","first_name":"Eske2","last_name":"Kemi","orders_count":0,"state":"enabled","total_spent":"0.00","last_order_id":null,"note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":null,"tags":"Iredale_JM, Wholesale","last_order_name":null,"currency":"EUR","accepts_marketing_updated_at":"2020-09-08T16:07:48+03:00","marketing_opt_in_level":null,"admin_graphql_api_id":"gid:\/\/shopify\/Customer\/4043425939622","default_address":{"id":4900616044710,"customer_id":4043425939622,"first_name":"Eske2","last_name":"Kemi","company":null,"address1":"","address2":null,"city":"","province":null,"country":null,"zip":"","phone":"","name":"Eske2 Kemi","province_code":null,"country_code":null,"country_name":null,"default":true}}}

search_customer_response:
{"code":0,"message":"success","contacts":[{"contact_id":"88366000003561587","contact_name":"Eske2Kemi","customer_name":"Eske2Kemi","company_name":"","website":"","language_code":"","language_code_formatted":"","contact_type":"customer","contact_type_formatted":"Customer","status":"active","customer_sub_type":"business","source":"api","is_linked_with_zohocrm":true,"payment_terms":0,"payment_terms_label":"Due on Receipt","currency_id":"88366000000000071","twitter":"","facebook":"","currency_code":"EUR","outstanding_receivable_amount":0.00,"outstanding_receivable_amount_bcy":0.00,"unused_credits_receivable_amount":0.00,"customer_credit_limit":"€10,00","first_name":"Eske2","last_name":"Kemi","email":"esko@apellis.ee","phone":"","mobile":"","portal_status":"enabled","created_time":"2020-07-08T18:33:54+0300","created_time_formatted":"08.07.2020","last_modified_time":"2021-05-09T23:14:47+0300","last_modified_time_formatted":"09.05.2021","custom_fields":[{"customfield_id":"88366000000205009","show_in_store":false,"show_in_portal":false,"is_active":true,"index":1,"label":"Asiakasnumero","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"201912036","search_entity":"contact","data_type":"autonumber","placeholder":"cf_asiakasnumero","value":"201912036","is_dependent_field":false},{"customfield_id":"88366000001072637","show_in_store":false,"show_in_portal":false,"is_active":true,"index":2,"label":"Viitenumero/ Reference no","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"123","search_entity":"contact","data_type":"number","placeholder":"cf_viitenumero_reference_no","value":"123","is_dependent_field":false},{"customfield_id":"88366000002354208","show_in_store":false,"show_in_portal":false,"is_active":true,"index":3,"label":"Customer_shopify_id","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"3771339210918","search_entity":"contact","data_type":"string","placeholder":"cf_customer_shopify_id","value":"3771339210918","is_dependent_field":false}],"cf_asiakasnumero":"201912036","cf_asiakasnumero_unformatted":"201912036","cf_viitenumero_reference_no":"123","cf_viitenumero_reference_no_unformatted":"123","cf_customer_shopify_id":"3771339210918","cf_customer_shopify_id_unformatted":"3771339210918","custom_field_hash":{"cf_asiakasnumero":"201912036","cf_asiakasnumero_unformatted":"201912036","cf_viitenumero_reference_no":"123","cf_viitenumero_reference_no_unformatted":"123","cf_customer_shopify_id":"3771339210918","cf_customer_shopify_id_unformatted":"3771339210918"},"ach_supported":false,"has_attachment":false}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Contacts","applied_filter":"Status.All","sort_column":"customer_name","sort_order":"A","search_criteria":[{"column_name":"email","search_text":"esko@apellis.ee","search_text_formatted":"esko@apellis.ee","comparator":"contains"}]}}

contact_list:
1

contacts:
1

search_item_response:
{"code":0,"message":"success","items":[{"group_id":"88366000000121037","group_name":"TRIPLELUXE Huulipuna","item_id":"88366000001513531","name":"TRIPLELUXE Lipstick-Ellen","item_name":"TRIPLELUXE Lipstick-Ellen","category_id":"88366000000093328","category_name":"Lip Colors","unit":"pcs","status":"active","source":"user","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000000781013","description":"TRIPLELUXE Huulipuna","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":36.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"17115","purchase_rate":7.71,"item_type":"inventory","product_type":"goods","stock_on_hand":12.000000,"has_attachment":false,"is_returnable":true,"available_stock":12.000000,"actual_available_stock":12.000000,"attribute_id1":"88366000000088105","attribute_id2":"","attribute_id3":"","attribute_name1":"Shade","attribute_name2":"","attribute_name3":"","attribute_type1":"Text","attribute_type2":"","attribute_type3":"","attribute_option_id1":"88366000001513573","attribute_option_id2":"","attribute_option_id3":"","attribute_option_name1":"Ellen","attribute_option_name2":"","attribute_option_name3":"","attribute_option_data1":"","attribute_option_data2":"","attribute_option_data3":"","sku":"670959231727","upc":"670959231727","ean":"670959231727","isbn":"","part_number":"17115","track_batch_number":false,"reorder_level":"","image_name":"75703-1E.jpg","image_type":"jpg","image_document_id":"88366000002162897","created_time":"2020-02-07T05:31:52+0200","last_modified_time":"2021-06-08T16:10:11+0300","cf_ean_code":"670959231727","cf_ean_code_unformatted":"670959231727","cf_usd_purchase_price":"8.00","cf_usd_purchase_price_unformatted":8.000000,"cf_shopify_id":"5002807804042","cf_shopify_id_unformatted":"5002807804042","cf_shopify_variant_id":"33643060134026","cf_shopify_variant_id_unformatted":"33643060134026"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959231727","search_text_formatted":"670959231727","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000001513531

Discount Price:
20.69

Line Item:
Array

create_draft_map:
{"customer_id":"88366000003561587","line_items":[{"item_id":"88366000001513531","name":"TRIPLELUXE Huulipuna - Ellen","rate":20.69,"quantity":1,"is_inclusive_tax":true}],"status":"Draft","notes":"Wholesale Order: Apell","is_inclusive_tax":true,"custom_fields":[{"customfield_id":88366000002453110,"value":856366153894}],"sub_total":"20.69","total":"20.69","tax_total":"4.00"}

search_draft_ZI:
{"code":0,"message":"success","salesorders":[],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Sales Orders","applied_filter":"Status.All","sort_column":"created_time","sort_order":"D","search_criteria":[{"column_name":"cf_shopify_so_id","search_text":"856366153894","search_text_formatted":"856366153894","comparator":"equal"}]}}

sales_order_data:
JSONString=%7B%22customer_id%22%3A%2288366000003561587%22%2C%22line_items%22%3A%5B%7B%22item_id%22%3A%2288366000001513531%22%2C%22name%22%3A%22TRIPLELUXE+Huulipuna+-+Ellen%22%2C%22rate%22%3A20.69%2C%22quantity%22%3A1%2C%22is_inclusive_tax%22%3Atrue%7D%5D%2C%22status%22%3A%22Draft%22%2C%22notes%22%3A%22Wholesale+Order%3A+Apell%22%2C%22is_inclusive_tax%22%3Atrue%2C%22custom_fields%22%3A%5B%7B%22customfield_id%22%3A88366000002453110%2C%22value%22%3A856366153894%7D%5D%2C%22sub_total%22%3A%2220.69%22%2C%22total%22%3A%2220.69%22%2C%22tax_total%22%3A%224.00%22%7D

search_draft_ZI:
{"code":0,"message":"success","salesorders":[],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Sales Orders","applied_filter":"Status.All","sort_column":"created_time","sort_order":"D","search_criteria":[{"column_name":"cf_shopify_so_id","search_text":"856366153894","search_text_formatted":"856366153894","comparator":"equal"}]}}

create_sales_order_response:
{"code":0,"message":"Sales Order has been created.","salesorder":{"salesorder_id":"88366000007758520","documents":[],"zcrm_potential_id":"","zcrm_potential_name":"","salesorder_number":"SO-02496","date":"2021-06-09","offline_created_date_with_time":"","tracking_url":"","has_discount":false,"status":"draft","color_code":"","current_sub_status_id":"","current_sub_status":"draft","sub_statuses":[],"shipment_date":"","reference_number":"","customer_id":"88366000003561587","customer_name":"Eske2Kemi","contact_persons":[],"contact_person_details":[{"phone":"","mobile":"","last_name":"Kemi","contact_person_id":"88366000003561589","first_name":"Eske2","email":"esko@apellis.ee"}],"source":"Api","contact_category":"","currency_id":"88366000000000071","currency_code":"EUR","currency_symbol":"€","exchange_rate":1.00,"is_discount_before_tax":true,"discount_type":"item_level","estimate_id":"","delivery_method":"","delivery_method_id":"","is_inclusive_tax":true,"tax_rounding":"item_level","order_status":"draft","invoiced_status":"","paid_status":"","shipped_status":"","sales_channel":"direct_sales","sales_channel_formatted":"Direct Sales","account_identifier":"","integration_id":"","is_dropshipped":false,"is_backordered":false,"is_manually_fulfilled":false,"has_qty_cancelled":false,"created_by_email":"apellis@apellis.fi","total_quantity":1,"line_items":[{"line_item_id":"88366000007758524","variant_id":"88366000001513531","track_batch_number":false,"item_id":"88366000001513531","is_returnable":true,"product_id":"88366000000121037","attribute_name1":"Shade","attribute_name2":"","attribute_name3":"","attribute_option_name1":"Ellen","attribute_option_name2":"","attribute_option_name3":"","attribute_option_data1":"","attribute_option_data2":"","attribute_option_data3":"","is_combo_product":false,"warehouse_id":"88366000000041019","warehouse_name":"Apellis Oy","sku":"670959231727","name":"TRIPLELUXE Huulipuna - Ellen","group_name":"TRIPLELUXE Huulipuna","description":"","item_order":1,"bcy_rate":20.69,"rate":20.69,"quantity":1,"quantity_manuallyfulfilled":0,"unit":"pcs","pricebook_id":"","header_id":"","header_name":"","discount_amount":0.00,"discount":0.00,"discounts":[],"tax_id":"88366000000671292","tax_name":"VAT 24","tax_type":"tax","tax_percentage":24,"item_total":16.69,"item_sub_total":16.69,"product_type":"goods","line_item_type":"goods","item_type":"inventory","is_invoiced":false,"is_unconfirmed_product":false,"tags":[],"image_name":"75703-1E.jpg","image_type":"jpg","document_id":"88366000002162897","item_custom_fields":[],"quantity_invoiced":0,"quantity_packed":0,"quantity_shipped":0,"quantity_cancelled":0.000000,"package_details":{"length":2.200000,"width":2.200000,"height":7.700000,"weight":0.035000,"weight_unit":"kg","dimension_unit":"cm"},"quantity_invoiced_cancelled":0.000000,"quantity_returned":0}],"submitter_id":"","approver_id":"","submitted_date":"","submitted_by":"","price_precision":2,"is_emailed":false,"has_unconfirmed_line_item":false,"picklists":[],"purchaseorders":[],"warehouses":[{"warehouse_id":"88366000000041019","warehouse_name":"Apellis Oy","address":"Viikatetie","city":"Vantaa","state":"","country":"Finland","zip":"01640","phone":"","email":"esko.kemilainen@apellis.fi","is_primary":true,"status":"active","sales_channels":[]},{"warehouse_id":"88366000004247475","warehouse_name":"Stock 2","address":"","city":"","state":"","country":"Estonia","zip":"","phone":"","email":"","is_primary":false,"status":"active","sales_channels":[]}],"billing_address_id":"88366000003561590","billing_address":{"address":"","street2":"","city":"","state":"","zip":"","country":"","country_code":"","state_code":"","fax":"","phone":"","attention":"Eske2Kemi"},"shipping_address_id":"88366000003561592","shipping_address":{"address":"","street2":"","city":"","state":"","zip":"","country":"","country_code":"","state_code":"","fax":"","phone":"","attention":""},"is_test_order":false,"notes":"Wholesale Order: Apell","terms":"","payment_terms":"","payment_terms_label":"","custom_fields":[{"customfield_id":"88366000002453110","show_in_store":false,"show_in_portal":false,"is_active":true,"index":1,"label":"shopify_so_id","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"856366153894","search_entity":"salesorder","data_type":"string","placeholder":"cf_shopify_so_id","value":"856366153894","is_dependent_field":false}],"custom_field_hash":{"cf_shopify_so_id":"856366153894","cf_shopify_so_id_unformatted":"856366153894"},"template_id":"88366000001042810","template_name":"Tarjous FI","page_width":"8.27in","page_height":"11.69in","orientation":"portrait","template_type":"compact","created_time":"2021-06-09T16:39:00+0300","last_modified_time":"2021-06-09T16:39:00+0300","created_by_id":"88366000001627005","created_date":"2021-06-09","last_modified_by_id":"88366000001627005","attachment_name":"","can_send_in_mail":false,"salesperson_id":"","salesperson_name":"","merchant_id":"","merchant_name":"","pickup_location_id":"","discount":0.00,"discount_applied_on_amount":0.00,"is_adv_tracking_in_package":false,"shipping_charge_tax_id":"","shipping_charge_tax_name":"","shipping_charge_tax_type":"","shipping_charge_tax_percentage":"","shipping_charge_tax":"","shipping_charge_exclusive_of_tax":0.000,"shipping_charge_inclusive_of_tax":0.000,"shipping_charge_tax_formatted":"","shipping_charge_exclusive_of_tax_formatted":"€0,00","shipping_charge_inclusive_of_tax_formatted":"€0,00","shipping_charge":0.00,"bcy_shipping_charge":0.00,"adjustment":0.00,"bcy_adjustment":0.00,"adjustment_description":"","roundoff_value":0.00,"transaction_rounding_type":"no_rounding","sub_total":16.69,"bcy_sub_total":16.69,"sub_total_inclusive_of_tax":0.00,"sub_total_exclusive_of_discount":16.69,"discount_total":0.00,"bcy_discount_total":0.00,"discount_percent":0.00,"tax_total":4.00,"bcy_tax_total":4.00,"total":20.69,"bcy_total":20.690,"taxes":[{"tax_name":"VAT 24 (24%)","tax_amount":4.00}],"packages":[],"invoices":[],"salesreturns":[],"payments":[],"creditnotes":[],"refunds":[],"balance":20.69,"approvers_list":[]}}

--------------------------------- END -----------------------------------
------------------------------------ START --------------------------------------------
User: 35.237.217.4 - June 9, 2021, 7:15 pm
-------------------------

oauthheader
Authorization: Zoho-oauthtoken 1000.17026d5f75f5cf2eaa9c617c5bbcfe7b.273783868b2d31de36d429ce6ea99eb0

draft_detail:
{"id":890612572568261625,"note":null,"email":"jon@doe.ca","taxes_included":false,"currency":"EUR","invoice_sent_at":null,"created_at":"2021-06-09T16:45:38+03:00","updated_at":"2021-06-09T16:45:38+03:00","tax_exempt":false,"completed_at":null,"name":"#D234","status":"open","line_items":[{"id":null,"variant_id":33614148436106,"product_id":4987156463754,"title":"Amazing Matte Mattatuote viimeistelyyn","variant_title":null,"sku":"670959111418","vendor":"Jane Iredale","quantity":3,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":48,"tax_lines":[],"applied_discount":null,"name":"Amazing Matte Mattatuote viimeistelyyn","properties":[],"custom":false,"price":"43.95"},{"id":null,"variant_id":40316939796646,"product_id":6833253548198,"title":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","variant_title":null,"sku":"670959113894","vendor":"Jane Iredale","quantity":1,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":0,"tax_lines":[],"applied_discount":null,"name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","properties":[],"custom":false,"price":"48.95"},{"id":null,"variant_id":40316939796646,"product_id":6833253548198,"title":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","variant_title":null,"sku":"670959113894","vendor":"Jane Iredale","quantity":10,"requires_shipping":true,"taxable":true,"gift_card":false,"fulfillment_service":"manual","grams":0,"tax_lines":[],"applied_discount":{"description":"bulk discount","value":"10.0","title":"Bulk Discount","amount":"48.95","value_type":"percentage"},"name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","properties":[],"custom":false,"price":"48.95"}],"shipping_address":{"first_name":"Steve","address1":"123 Shipping Street","phone":"555-555-SHIP","city":"Shippington","zip":"40150","province":"Kentucky","country":"United States","last_name":"Shipper","address2":null,"company":"Shipping Company","latitude":null,"longitude":null,"name":"Steve Shipper","country_code":"US","province_code":"KY"},"billing_address":{"first_name":"Bob","address1":"123 Billing Street","phone":"555-555-BILL","city":"Billtown","zip":"K2P0B0","province":"Kentucky","country":"United States","last_name":"Biller","address2":null,"company":"My Company","latitude":null,"longitude":null,"name":"Bob Biller","country_code":"US","province_code":"KY"},"invoice_url":"https:\/\/janeiredale.fi\/32963166346\/invoices\/abcd1234abcd1234abcd1234abcd1234","applied_discount":{"description":"loyalty","value":"50.0","title":"Loyalty","amount":"50.00","value_type":"fixed_amount"},"order_id":null,"shipping_line":{"title":"Generic Shipping","custom":true,"handle":null,"price":"10.00"},"tax_lines":[{"rate":0.06,"title":"Osavaltion vero","price":"7.91"},{"rate":0.06,"title":"Osavaltion vero","price":"2.94"},{"rate":0.06,"title":"Osavaltion vero","price":"26.43"}],"tags":"","note_attributes":[],"total_price":"618.63","subtotal_price":"571.35","total_tax":"0.00","admin_graphql_api_id":"gid:\/\/shopify\/ExampleDraftOrderClassMethodsExample\/890612572568261625","customer":{"id":null,"email":"john@doe.ca","accepts_marketing":false,"created_at":null,"updated_at":null,"first_name":"John","last_name":"Smith","orders_count":0,"state":"disabled","total_spent":"0.00","last_order_id":null,"note":null,"verified_email":true,"multipass_identifier":null,"tax_exempt":false,"phone":null,"tags":"","last_order_name":null,"currency":"EUR","accepts_marketing_updated_at":null,"marketing_opt_in_level":null,"default_address":{"id":null,"customer_id":null,"first_name":null,"last_name":null,"company":null,"address1":"123 Elm St.","address2":null,"city":"Ottawa","province":"Ontario","country":"Canada","zip":"K2H7A8","phone":"123-123-1234","name":"","province_code":"ON","country_code":"CA","country_name":"Canada","default":true}}}

search_customer_response:
{"code":0,"message":"success","contacts":[{"contact_id":"88366000007735155","contact_name":"JohnSmith","customer_name":"JohnSmith","company_name":"","website":"","language_code":"","language_code_formatted":"","contact_type":"customer","contact_type_formatted":"Customer","status":"active","customer_sub_type":"business","source":"api","is_linked_with_zohocrm":false,"payment_terms":0,"payment_terms_label":"Due On Receipt","currency_id":"88366000000000071","twitter":"","facebook":"","currency_code":"EUR","outstanding_receivable_amount":0.00,"outstanding_receivable_amount_bcy":0.00,"unused_credits_receivable_amount":0.00,"customer_credit_limit":"","first_name":"John","last_name":"Smith","email":"john@doe.ca","phone":"","mobile":"","portal_status":"disabled","created_time":"2021-06-08T14:20:46+0300","created_time_formatted":"08.06.2021","last_modified_time":"2021-06-08T14:20:46+0300","last_modified_time_formatted":"08.06.2021","custom_fields":[{"customfield_id":"88366000000205009","show_in_store":false,"show_in_portal":false,"is_active":true,"index":1,"label":"Asiakasnumero","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"201913160","search_entity":"contact","data_type":"autonumber","placeholder":"cf_asiakasnumero","value":"201913160","is_dependent_field":false},{"customfield_id":"88366000002354208","show_in_store":false,"show_in_portal":false,"is_active":true,"index":2,"label":"Customer_shopify_id","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"null","search_entity":"contact","data_type":"string","placeholder":"cf_customer_shopify_id","value":"null","is_dependent_field":false}],"cf_asiakasnumero":"201913160","cf_asiakasnumero_unformatted":"201913160","cf_customer_shopify_id":"null","cf_customer_shopify_id_unformatted":"null","custom_field_hash":{"cf_asiakasnumero":"201913160","cf_asiakasnumero_unformatted":"201913160","cf_customer_shopify_id":"null","cf_customer_shopify_id_unformatted":"null"},"ach_supported":false,"has_attachment":false}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Contacts","applied_filter":"Status.All","sort_column":"customer_name","sort_order":"A","search_criteria":[{"column_name":"email","search_text":"john@doe.ca","search_text_formatted":"john@doe.ca","comparator":"contains"}]}}

contact_list:
Array
(
    [0] => stdClass Object
        (
            [contact_id] => 88366000007735155
            [contact_name] => JohnSmith
            [customer_name] => JohnSmith
            [company_name] => 
            [website] => 
            [language_code] => 
            [language_code_formatted] => 
            [contact_type] => customer
            [contact_type_formatted] => Customer
            [status] => active
            [customer_sub_type] => business
            [source] => api
            [is_linked_with_zohocrm] => 
            [payment_terms] => 0
            [payment_terms_label] => Due On Receipt
            [currency_id] => 88366000000000071
            [twitter] => 
            [facebook] => 
            [currency_code] => EUR
            [outstanding_receivable_amount] => 0
            [outstanding_receivable_amount_bcy] => 0
            [unused_credits_receivable_amount] => 0
            [customer_credit_limit] => 
            [first_name] => John
            [last_name] => Smith
            [email] => john@doe.ca
            [phone] => 
            [mobile] => 
            [portal_status] => disabled
            [created_time] => 2021-06-08T14:20:46+0300
            [created_time_formatted] => 08.06.2021
            [last_modified_time] => 2021-06-08T14:20:46+0300
            [last_modified_time_formatted] => 08.06.2021
            [custom_fields] => Array
                (
                    [0] => stdClass Object
                        (
                            [customfield_id] => 88366000000205009
                            [show_in_store] => 
                            [show_in_portal] => 
                            [is_active] => 1
                            [index] => 1
                            [label] => Asiakasnumero
                            [show_on_pdf] => 
                            [edit_on_portal] => 
                            [edit_on_store] => 
                            [show_in_all_pdf] => 
                            [value_formatted] => 201913160
                            [search_entity] => contact
                            [data_type] => autonumber
                            [placeholder] => cf_asiakasnumero
                            [value] => 201913160
                            [is_dependent_field] => 
                        )

                    [1] => stdClass Object
                        (
                            [customfield_id] => 88366000002354208
                            [show_in_store] => 
                            [show_in_portal] => 
                            [is_active] => 1
                            [index] => 2
                            [label] => Customer_shopify_id
                            [show_on_pdf] => 
                            [edit_on_portal] => 
                            [edit_on_store] => 
                            [show_in_all_pdf] => 
                            [value_formatted] => null
                            [search_entity] => contact
                            [data_type] => string
                            [placeholder] => cf_customer_shopify_id
                            [value] => null
                            [is_dependent_field] => 
                        )

                )

            [cf_asiakasnumero] => 201913160
            [cf_asiakasnumero_unformatted] => 201913160
            [cf_customer_shopify_id] => null
            [cf_customer_shopify_id_unformatted] => null
            [custom_field_hash] => stdClass Object
                (
                    [cf_asiakasnumero] => 201913160
                    [cf_asiakasnumero_unformatted] => 201913160
                    [cf_customer_shopify_id] => null
                    [cf_customer_shopify_id_unformatted] => null
                )

            [ach_supported] => 
            [has_attachment] => 
        )

)


contacts:
stdClass Object
(
    [contact_id] => 88366000007735155
    [contact_name] => JohnSmith
    [customer_name] => JohnSmith
    [company_name] => 
    [website] => 
    [language_code] => 
    [language_code_formatted] => 
    [contact_type] => customer
    [contact_type_formatted] => Customer
    [status] => active
    [customer_sub_type] => business
    [source] => api
    [is_linked_with_zohocrm] => 
    [payment_terms] => 0
    [payment_terms_label] => Due On Receipt
    [currency_id] => 88366000000000071
    [twitter] => 
    [facebook] => 
    [currency_code] => EUR
    [outstanding_receivable_amount] => 0
    [outstanding_receivable_amount_bcy] => 0
    [unused_credits_receivable_amount] => 0
    [customer_credit_limit] => 
    [first_name] => John
    [last_name] => Smith
    [email] => john@doe.ca
    [phone] => 
    [mobile] => 
    [portal_status] => disabled
    [created_time] => 2021-06-08T14:20:46+0300
    [created_time_formatted] => 08.06.2021
    [last_modified_time] => 2021-06-08T14:20:46+0300
    [last_modified_time_formatted] => 08.06.2021
    [custom_fields] => Array
        (
            [0] => stdClass Object
                (
                    [customfield_id] => 88366000000205009
                    [show_in_store] => 
                    [show_in_portal] => 
                    [is_active] => 1
                    [index] => 1
                    [label] => Asiakasnumero
                    [show_on_pdf] => 
                    [edit_on_portal] => 
                    [edit_on_store] => 
                    [show_in_all_pdf] => 
                    [value_formatted] => 201913160
                    [search_entity] => contact
                    [data_type] => autonumber
                    [placeholder] => cf_asiakasnumero
                    [value] => 201913160
                    [is_dependent_field] => 
                )

            [1] => stdClass Object
                (
                    [customfield_id] => 88366000002354208
                    [show_in_store] => 
                    [show_in_portal] => 
                    [is_active] => 1
                    [index] => 2
                    [label] => Customer_shopify_id
                    [show_on_pdf] => 
                    [edit_on_portal] => 
                    [edit_on_store] => 
                    [show_in_all_pdf] => 
                    [value_formatted] => null
                    [search_entity] => contact
                    [data_type] => string
                    [placeholder] => cf_customer_shopify_id
                    [value] => null
                    [is_dependent_field] => 
                )

        )

    [cf_asiakasnumero] => 201913160
    [cf_asiakasnumero_unformatted] => 201913160
    [cf_customer_shopify_id] => null
    [cf_customer_shopify_id_unformatted] => null
    [custom_field_hash] => stdClass Object
        (
            [cf_asiakasnumero] => 201913160
            [cf_asiakasnumero_unformatted] => 201913160
            [cf_customer_shopify_id] => null
            [cf_customer_shopify_id_unformatted] => null
        )

    [ach_supported] => 
    [has_attachment] => 
)


search_item_response:
{"code":0,"message":"success","items":[{"item_id":"88366000000804553","name":"Amazing Matte Mattatuote viimeistelyyn","item_name":"Amazing Matte Mattatuote viimeistelyyn","category_id":"88366000000093320","category_name":"Oil Control","unit":"pcs","status":"active","source":"csv","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000000493447","description":"Amazing Matte/ Matta irtopohja","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":43.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"11019","purchase_rate":9.49,"item_type":"inventory","product_type":"goods","stock_on_hand":32.000000,"has_attachment":false,"is_returnable":true,"available_stock":32.000000,"actual_available_stock":32.000000,"sku":"670959111418","upc":"670959111418","ean":"670959111418","isbn":"","part_number":"11019","track_batch_number":false,"reorder_level":"","image_name":"75703-1E.jpg","image_type":"jpg","image_document_id":"88366000002158609","created_time":"2019-12-26T16:51:58+0200","last_modified_time":"2021-06-07T21:10:22+0300","cf_ean_code":"670959111418","cf_ean_code_unformatted":"670959111418","cf_usd_purchase_price":"7.88","cf_usd_purchase_price_unformatted":7.880000,"cf_shopify_id":"4987156463754","cf_shopify_id_unformatted":"4987156463754","cf_shopify_variant_id":"33614148436106","cf_shopify_variant_id_unformatted":"33614148436106"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959111418","search_text_formatted":"670959111418","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000000804553

search_item_response:
{"code":0,"message":"success","items":[{"item_id":"88366000007756869","name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","item_name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","category_id":"88366000000093318","category_name":"Primers","unit":"pcs","status":"active","source":"user","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000004970053","description":"Smooth Affair® Illuminating Glow heleyttävä meikin pohjustus","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":48.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"12421","purchase_rate":11.56,"item_type":"inventory","product_type":"goods","stock_on_hand":0,"has_attachment":false,"is_returnable":true,"available_stock":0,"actual_available_stock":0.000000,"sku":"670959113894","upc":"","ean":"670959113894","isbn":"","part_number":"12421","track_batch_number":false,"reorder_level":"","image_name":"SA-Illuminating 720x720.jpg","image_type":"jpg","image_document_id":"88366000007756876","created_time":"2021-06-09T11:59:11+0300","last_modified_time":"2021-06-09T16:11:29+0300","cf_ean_code":"670959113894","cf_ean_code_unformatted":"670959113894","cf_usd_purchase_price":"12.00","cf_usd_purchase_price_unformatted":12.000000,"cf_shopify_id":"6833253548198","cf_shopify_id_unformatted":"6833253548198"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959113894","search_text_formatted":"670959113894","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000007756869

search_item_response:
{"code":0,"message":"success","items":[{"item_id":"88366000007756869","name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","item_name":"Smooth Affair® Illuminating Glow heleyttävä pohjustus","category_id":"88366000000093318","category_name":"Primers","unit":"pcs","status":"active","source":"user","is_combo_product":false,"is_linked_with_zohocrm":true,"zcrm_product_id":"233790000004970053","description":"Smooth Affair® Illuminating Glow heleyttävä meikin pohjustus","brand":"JaneIredale","manufacturer":"Jane Iredale","rate":48.95,"tax_id":"88366000000671292","tax_name":"VAT 24","tax_percentage":24,"purchase_account_id":"88366000000000509","purchase_account_name":"Ostot","account_name":"Myynti","purchase_description":"12421","purchase_rate":11.56,"item_type":"inventory","product_type":"goods","stock_on_hand":0,"has_attachment":false,"is_returnable":true,"available_stock":0,"actual_available_stock":0.000000,"sku":"670959113894","upc":"","ean":"670959113894","isbn":"","part_number":"12421","track_batch_number":false,"reorder_level":"","image_name":"SA-Illuminating 720x720.jpg","image_type":"jpg","image_document_id":"88366000007756876","created_time":"2021-06-09T11:59:11+0300","last_modified_time":"2021-06-09T16:11:29+0300","cf_ean_code":"670959113894","cf_ean_code_unformatted":"670959113894","cf_usd_purchase_price":"12.00","cf_usd_purchase_price_unformatted":12.000000,"cf_shopify_id":"6833253548198","cf_shopify_id_unformatted":"6833253548198"}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Items","applied_filter":"Status.All","sort_column":"name","sort_order":"A","search_criteria":[{"column_name":"sku","search_text":"670959113894","search_text_formatted":"670959113894","comparator":"contains"},{"column_name":"status","search_text":"active","search_text_formatted":"active","comparator":"equal"}]}}

item_id:
88366000007756869

Discount Price:
38.95

Line Item:
Array
(
    [item_id] => 88366000007756869
    [name] => Smooth Affair® Illuminating Glow heleyttävä pohjustus
    [rate] => 38.95
    [quantity] => 10
    [is_inclusive_tax] => 1
)


create_draft_map:
{"customer_id":"88366000007735155","line_items":[{"item_id":"88366000000804553","rate":"43.95","quantity":3,"is_inclusive_tax":true},{"item_id":"88366000007756869","rate":"48.95","quantity":1,"is_inclusive_tax":true},{"item_id":"88366000007756869","name":"Smooth Affair\u00ae Illuminating Glow heleytt\u00e4v\u00e4 pohjustus","rate":38.95,"quantity":10,"is_inclusive_tax":true}],"status":"Draft","notes":null,"is_inclusive_tax":false,"custom_fields":[{"customfield_id":88366000002453110,"value":890612572568261625}],"sub_total":"571.35","total":"618.63","tax_total":"0.00"}

search_draft_ZI:
{"code":0,"message":"success","salesorders":[{"salesorder_id":"88366000007763002","zcrm_potential_id":"","zcrm_potential_name":"","customer_name":"JohnSmith","customer_id":"88366000007735155","email":"john@doe.ca","delivery_date":"","company_name":"","color_code":"","current_sub_status_id":"","current_sub_status":"draft","pickup_location_id":"","salesorder_number":"SO-02495","reference_number":"","date":"2021-06-09","shipment_date":"","shipment_days":"","due_by_days":"","due_in_days":"","currency_id":"88366000000000071","source":"","currency_code":"EUR","total":707.17,"bcy_total":707.17,"total_invoiced_amount":0.00,"created_time":"2021-06-09T16:35:18+0300","last_modified_time":"2021-06-09T16:35:18+0300","is_emailed":false,"quantity":14.000000,"quantity_invoiced":0.000000,"quantity_packed":0.000000,"quantity_shipped":0.000000,"order_status":"draft","invoiced_status":"","paid_status":"","shipped_status":"","status":"draft","is_drop_shipment":false,"is_backorder":false,"is_manually_fulfilled":false,"sales_channel":"direct_sales","sales_channel_formatted":"Direct Sales","salesperson_name":"","has_attachment":false,"cf_shopify_so_id":"890612572568261625","cf_shopify_so_id_unformatted":"890612572568261625","customer_custom_fields":[{"customfield_id":"88366000000205009","show_in_store":false,"show_in_portal":false,"is_active":true,"index":1,"label":"Asiakasnumero","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"201913160","search_entity":"contact","data_type":"autonumber","placeholder":"customer_cf_asiakasnumero","value":"201913160","is_dependent_field":false},{"customfield_id":"88366000002354208","show_in_store":false,"show_in_portal":false,"is_active":true,"index":2,"label":"Customer_shopify_id","show_on_pdf":false,"edit_on_portal":false,"edit_on_store":false,"show_in_all_pdf":false,"value_formatted":"null","search_entity":"contact","data_type":"string","placeholder":"customer_cf_customer_shopify_id","value":"null","is_dependent_field":false}],"customer_cf_asiakasnumero":"201913160","customer_cf_asiakasnumero_unformatted":"201913160","customer_cf_customer_shopify_id":"null","customer_cf_customer_shopify_id_unformatted":"null","customer_custom_field_hash":{"customer_cf_asiakasnumero":"201913160","customer_cf_asiakasnumero_unformatted":"201913160","customer_cf_customer_shopify_id":"null","customer_cf_customer_shopify_id_unformatted":"null"},"balance":707.17,"delivery_method":"","delivery_method_id":""}],"page_context":{"page":1,"per_page":200,"has_more_page":false,"report_name":"Sales Orders","applied_filter":"Status.All","sort_column":"created_time","sort_order":"D","search_criteria":[{"column_name":"cf_shopify_so_id","search_text":"890612572568261625","search_text_formatted":"890612572568261625","comparator":"equal"}]}}

sales_order_data:
JSONString=%7B%22customer_id%22%3A%2288366000007735155%22%2C%22line_items%22%3A%5B%7B%22item_id%22%3A%2288366000000804553%22%2C%22rate%22%3A%2243.95%22%2C%22quantity%22%3A3%2C%22is_inclusive_tax%22%3Atrue%7D%2C%7B%22item_id%22%3A%2288366000007756869%22%2C%22rate%22%3A%2248.95%22%2C%22quantity%22%3A1%2C%22is_inclusive_tax%22%3Atrue%7D%2C%7B%22item_id%22%3A%2288366000007756869%22%2C%22name%22%3A%22Smooth+Affair%5Cu00ae+Illuminating+Glow+heleytt%5Cu00e4v%5Cu00e4+pohjustus%22%2C%22rate%22%3A38.95%2C%22quantity%22%3A10%2C%22is_inclusive_tax%22%3Atrue%7D%5D%2C%22status%22%3A%22Draft%22%2C%22notes%22%3Anull%2C%22is_inclusive_tax%22%3Afalse%2C%22custom_fields%22%3A%5B%7B%22customfield_id%22%3A88366000002453110%2C%22value%22%3A890612572568261625%7D%5D%2C%22sub_total%22%3A%22571.35%22%2C%22total%22%3A%22618.63%22%2C%22tax_total%22%3A%220.00%22%7D

sales_order id in salesorder_detail:
1

--------------------------------- END -----------------------------------
