Productsup

Update export template marketing information

Updates the marketing information of an export template. **Publishing required.** This request stores a draft. The change becomes available in the ProductsUp platform only after you publish the export template with `POST /V1/export-templates/{id}/commit`.

PATCH
/V1/export/{exportId}/export-marketing

Authorization

bearerAuth
AuthorizationBearer <token>

ProductsUp Keycloak JWT bearer token.

In: header

Path Parameters

exportId*string

Export id.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X PATCH "https://export-template-api.productsup.com/V1/export/string/export-marketing" \  -H "Content-Type: application/json" \  -d '{    "type": 2,    "publish": true,    "marketingTitle": "A even cooler title",    "websiteLink": "https://www.example.com",    "landingPageLink": "https://www.example.com/welcome",    "featured": true,    "products": [      "platform",      "travel",      "commerce"    ],    "description": "The export could be better",    "priority": 6,    "helpLink": "500",    "exportCategoryIds": [      522    ],    "exportCountryIds": [      "NL"    ]  }'
{
  "data": {
    "id": 40996,
    "export": {
      "id": 59071
    },
    "type": 2,
    "publish": true,
    "marketingTitle": "A even cooler title",
    "websiteLink": "https://www.example.com",
    "landingPageLink": "https://www.example.com/welcome",
    "featured": true,
    "products": [
      "platform",
      "travel",
      "commerce"
    ],
    "description": "The export could be better",
    "priority": 6,
    "helpLink": "500",
    "exportCategoryIds": [
      522
    ],
    "exportCountryIds": [
      "NL"
    ]
  }
}
{
  "errors": {
    "message": "Resource access denied."
  }
}
{
  "errors": {
    "message": "Export Brand with id 99999 not found."
  }
}