We pass data via API to the deliveryNote field, but the field is overwritten and the main field when we insert the value is called deliverynote. How can we transfer directly to the desired field by API TTN? order history example: https://admin.newtrend.team/admin/customorder/order/1205880/history/?systemchange=1&filter2_key=valueold&filter2_type=search&filter2_value=&filter3_key=valuenew&filter3_type=search&filter3_value=&fieldkey=&customfieldid=&opfieldid=&filtercdatefrom=&filtercdateto=&page =0
And screenshots of where TTN is transmitted
[file]3998[/file]
[file]3999[/file]
We pass data via API to the deliveryNote field, but the field is overwritten and the main field when we insert the value is called deliverynote. How can we transfer directly to the desired field by API TTN? order history example: https://admin.newtrend.team/admin/customorder/order/1205880/history/?systemchang... =0 And screenshots of where TTN is transmitted
deliveryNote The problem is that the data is transmitted via api to the field, which, as it were, does not exist. I think it's a bug. order.order_deliverynote, customorder_deliverynote is in the order, but not deliveryNote
deliveryNote The problem is that the data is transmitted via api to the field, which, as it were, does not exist. I think it's a bug. order.order_deliverynote, customorder_deliverynote is in the order, but not deliveryNote
Hello, you can use the API documentation https://crm-onebox.com/en/api/orders/ If I understand you correctly, then you need to pass the value in the Delivery invoice field, the "deliverynote" parameter is responsible for this
Hello, you can use the API documentation https://crm-onebox.com/en/api/orders/
If I understand you correctly, then you need to pass the value in the Delivery invoice field, the "deliverynote" parameter is responsible for this
deliverynote We pass it to this field, but the value is still passed to deliveryNote and the data is not written to this field. When filling in the field "External TTN" in the list of orders, we make a POST request to /api/orders/update/, with the following parameters: 'orderid' => order ID, 'custom_partnerid' => Partner ID, 'deliverynote' => value of the field "External TTN", 'customorder_prom_paid' => 'yes' What are we doing wrong? Or is it a bug?
deliverynote We pass it to this field, but the value is still passed to deliveryNote and the data is not written to this field.
When filling in the field "External TTN" in the list of orders, we make a POST request to /api/orders/update/, with the following parameters:
'orderid' => order ID,
'custom_partnerid' => Partner ID,
'deliverynote' => value of the field "External TTN",
'customorder_prom_paid' => 'yes'
What are we doing wrong? Or is it a bug?
[file]4017[/file]
As far as I can see from the logs of incoming requests to create an order for 07.03 there was such a request with such a ttn number [ordercode] => 78477 [source] => platformaNT [sum] => 159 [deliveryid] => 1 [customorder_deliveryNote] => 20450356211447 the value with customorder_deliveryNote will be written in an additional field with the key deliveryNote, but you want to write the invoice number in the standard field, for this the value must be passed with the key deliverynote request fragment will look like this http://boxurl/api/orders/add/?deliveryid=1&source=platformaNT&ordercode=... You can always see an example of a request and variables that can be used in the API on the page https://crm-onebox.com/en/api/
As far as I can see from the logs of incoming requests to create an order for 07.03 there was such a request with such a ttn number
[ordercode] => 78477
[source] => platformaNT
[sum] => 159
[deliveryid] => 1
[customorder_deliveryNote] => 20450356211447
the value with customorder_deliveryNote will be written in an additional field with the key deliveryNote, but you want to write the invoice number in the standard field, for this the value must be passed with the key deliverynote
request fragment will look like this
http://boxurl/api/orders/add/?deliveryid=1&source=platformaNT&ordercode=78477&deliverynote=20450356211447
You can always see an example of a request and variables that can be used in the API on the page https://crm-onebox.com/en/api/
Please join the conversation. If you have something to say - please write a comment. You will need a mobile phone and an SMS code for identification to enter.
Log in and comment
Donate
You don't have enough funds in your account Top up