Get JSON schema for export template
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.
Authorization
bearerAuth ProductsUp Keycloak JWT bearer token.
In: header
Path Parameters
Export template id.
Response Body
application/json
application/json
application/json
curl -X GET "https://export-template-api.productsup.com/V2/export-templates/0/schema"{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"title": "Google Merchant Center",
"properties": {
"property1": {
"type": "string",
"title": "Product ID",
"description": "Unique product identifier",
"examples": [
"string"
],
"format": "decimal",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Z0-9]+$",
"minimum": 0,
"maximum": 999999
},
"property2": {
"type": "string",
"title": "Product ID",
"description": "Unique product identifier",
"examples": [
"string"
],
"format": "decimal",
"minLength": 1,
"maxLength": 100,
"pattern": "^[A-Z0-9]+$",
"minimum": 0,
"maximum": 999999
}
},
"required": [
"product_id",
"price"
]
}{
"errors": {
"message": "Resource access denied."
}
}{
"errors": {
"message": "Export with id 123 not found."
}
}How is this guide?
Replace export template (full replace) PUT
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.
Get export template GET
Next Page