Development discussions around Shopify APIs
Hello world!
I am trying to add a custom field in the admin order page which will hold an external url.
Here's a screenshot where a shop has this kind of field installed through an application (Additional details -> xconnector-invoice-url).
I need to do the same for a shop using my custom app.
While researching i found that a metafield would be what i need, so i created the metafield for an order, i can see the meta if i access /admin/orders/{order_id}/metafields.xml, however there is no actual field showing in the order page on admin.
What i need is to see the field in the order admin page like in the screenshot, but i can't find a way to modify the admin theme.
Is that possible? Maybe is not a metafield what i need?
Solved! Go to the solution
This is an accepted solution.
The Order resource has a field called note_attributes
i pushed into the Order resource something like
"note_attributes": [
{
"name": "invoice-url",
"value": "https://myinvoiceurl"
}
Can someone provide assistance?
Thanks!
Nevermind, i figured it out.
Thank you, community...
Were you able to get the metafield to show in the admin orders, and if so how?
I'm looking to record which sales channel each order came into our shopify store from, then pass this along to NetSuite (retail, wholesale, etc.)
Thanks!
Hi @EmiliaSC
I see you resolved your problem.
I'm new in Shopify development, I also need to customize the Admin order page with adding some fields. Could you help to share how did you add and show a custom field in admin order?
Thanks
This is an accepted solution.
The Order resource has a field called note_attributes
i pushed into the Order resource something like
"note_attributes": [
{
"name": "invoice-url",
"value": "https://myinvoiceurl"
}
User | RANK |
---|---|
10 | |
4 | |
3 | |
3 | |
3 |
As a business owner, have you ever wondered when your customer's first impression of yo...
By Skye Jun 6, 2023We're excited to announce improvements to the threaded messaging experience in our communi...
By TyW May 31, 2023Thank you to everyone who participated in our AMA with Klaviyo. It was great to see so man...
By Jacqui May 30, 2023