curl --location -g --request POST '{{BASE_URL}}/admin/sales-channels/' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "string",
"description": "string",
"is_disabled": true,
"metadata": {}
}'
{
"sales_channel": {
"id": "string",
"name": "string",
"description": "string",
"is_disabled": true,
"metadata": {},
"created_at": "2019-08-24T14:15:22Z",
"updated_at": "2019-08-24T14:15:22Z",
"deleted_at": "2019-08-24T14:15:22Z"
}
}
+
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.