Skip to main content

Prepare Template Form

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.

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

Successful response