Create an export template
Creates a complete export template, including its attributes and analyzer tests, in one call. The operation runs asynchronously and returns 202 Accepted with a Content-Location header pointing to the operation resource. Poll GET /V2/operations/{operationId} for progress and the result. **Publishing required.** The new export template is a draft. It becomes available in the ProductsUp platform only after you publish it with `POST /V1/export-templates/{id}/commit`.
Authorization
bearerAuth ProductsUp Keycloak JWT bearer token.
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X POST "https://export-template-api.productsup.com/V2/export-templates" \ -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."
}
}How is this guide?