Productsup

Create an export template attribute alias

Creates an alias that can be assigned to an export template attribute as an alternative name for the field.

POST
/V1/export-template-attribute-aliases

Authorization

bearerAuth
AuthorizationBearer <token>

ProductsUp Keycloak JWT bearer token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

name*string

Name of the export template attribute alias. Up to 250 characters.

Response Body

application/json

application/json

curl -X POST "https://export-template-api.productsup.com/V1/export-template-attribute-aliases" \  -H "Content-Type: application/json" \  -d '{    "name": "My field alias"  }'
{
  "data": {
    "id": 199
  }
}
{
  "errors": {
    "message": "Request validation has encountered constraint violations.",
    "errors": {
      "name": [
        "This field is missing."
      ]
    }
  }
}