Metafield Definitions
Get an array of metafield definitions
Changed onTo get information fo metafield definition attached to merchants
get/metafield_definitions/merchants
Request
- Base URLhttps://open.shopline.io/v1
- URLhttps://open.shopline.io/v1/metafield_definitions/merchants
- AuthHTTP bearer
Response
OK
Example response
{
"items": [
{
"id": "5ad86757e38809441400001b",
"namespace": "sales",
"key": "discount",
"name": "Sale discount",
"description": "Discount percentage on a sale product",
"field_type": "number_integer",
"merchant_id": "61245ba9a6e4e8001c46d6ec",
"resource_type": "product",
"metafield_type": "merchant",
"created_at": "2021-12-01T03:12:11.666+00:00",
"updated_at": "2021-12-02T09:35:12.555+00:00"
}
]
}Changes
- info
endpoint added
- info