I'm looking at the API in magento 2.3 and I'm trying to figure out how they works. I called a GET on /rest/it/V1/products/:sku and I got a JSON (stripped out for clarity)
{
"extension_attributes": {
"marketing1_title": "This is the marketing title 1",
},
"custom_attributes": [
{
"attribute_code": "marketing1_title",
"value": "This is the marketing title 1"
}
]
}
This product was created in the backend (I'm not familiar at all with it, I only work with the API) so I don't understand if it's a misconfiguration in the backend or if it's supposed to work this way.
Mainly I can't get the difference between "extension_attributes" and "custom_attributes" and I can't find any docs about it.
Can you help me in any way?