Skip to main content

Get Template Builder Columns

GET 

/api/csv-templates/:model/prepare

Returns the available columns and related data for building or editing a CSV template for the specified model type.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token (Power User access required)

For 'product' model, also returns:

  • relations.productAttributes: Available product attribute types
  • relations.productPricingTiers: Available pricing tiers
  • relations.suppliers: All suppliers
  • relations.SupplierPricingTiers: Supplier-specific pricing tiers

Request

Responses

OK

Response Headers
    Content-Type