Replace export template (full replace)
Replaces an export template with full replace semantics: server state will match the payload exactly. Omitted attributes or analyzer tests are deleted. Attributes are matched by name (natural key). Analyzer tests are replaced per attribute (delete all, insert all). Executed asynchronously (inline in Phase 1). Returns 202 Accepted with Content-Location header pointing to the operation. If export template does not exist, returns 404 without creating an operation.
Authorization
bearerAuth ProductsUp Keycloak JWT bearer token.
In: header
Path Parameters
Export template ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
curl -X PUT "https://export-template-api.productsup.com/V2/export-templates/0" \ -H "Content-Type: application/json" \ -d '{ "name": "Google Shopping Feed" }'{
"operationId": "01980f10-5b04-7845-b0d5-66861c6cabb0",
"status": "queued"
}{
"message": "Invalid JSON payload"
}{
"errors": {
"message": "Resource access denied."
}
}{
"code": "NOT_FOUND",
"message": "Export template with ID 12345 not found."
}How is this guide?
Duplicate an export template POST
Creates a deep copy of an existing export template including all attributes, analyzer tests, tags, custom form fields, and marketing data. The duplicate receives a '(Copy)' name suffix and Draft status.
Get JSON schema for export template GET
Returns the complete JSON schema for an export template including all fields with their validations converted from Analyzer Tests V2 into standard JSON Schema validation keywords (minLength, maxLength, pattern, minimum, maximum, etc.). This schema can be used for validation in both the current platform and NextGen.