Update an Existing Schema
PATCH
https://api.monetate.net/api/data/v1/{retailerShortname}/production/schema/{schema-name}/
schema-namestringThe name of the Schema.
acceptstringGenerated from available response content types
bodyobject<p>Within a Schema, fields must have unique names.</p>
<p>Columns passed in the fields property are added to the schema.</p>
200Schema patched. Content is the definition of the modified Schema.
400<p>Validation error.</p>
<p>One or more values being sent was not in the correct format, or a required value was missing.</p>
401<p>Unauthorized.</p>
<p>The request did not include a token, or the token provided was invalid. Please ensure that your token is correct and that the Authorization header is properly formatted.</p>
403Forbidden.
The request included a token that has been revoked. Please contact your account administrator to generate a new token.
500Unknown error.
Please try again or contact your account manager for more information.
curl --request PATCH \
--url https://api.monetate.net/api/data/v1/{retailerShortname}/production/schema/{schema-name}/ \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '{
"fields": ""
}'