Productsup
API referenceV2Export template

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.

PUT
/V2/export-templates/{id}

Authorization

bearerAuth
AuthorizationBearer <token>

ProductsUp Keycloak JWT bearer token.

In: header

Path Parameters

id*integer

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?