curl --location -g --request POST '{{BASE_URL}}/admin/product-types/' \
--header 'Content-Type: application/json' \
--data-raw '{
"value": "string",
"metadata": {}
}'
{
"product_type": {
"id": "string",
"value": "string",
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z",
"metadata": {}
}
}
+
it will be added to the default fields, using -
will remove it from the default fields. without prefix it will replace the entire default fields.