Export MPS Entries
GET/api/manufacturing/mrp/mps/export
Download Master Production Schedule entries as a spreadsheet. The columns are the import template's own columns, in the template's order, so an exported file can be re-planned in a spreadsheet and handed straight back to the importer.
Authorization: requires the mrp.view permission and a token carrying the mrp:read scope (manufacturing:read also satisfies it).
Response is a file download, not JSON: an Excel workbook for format=xlsx, text/csv for format=csv. Column headings: product_id, product_sku, warehouse, bucket_start, quantity, source, delete.
With scope=filtered the same filters and sort as GET /api/manufacturing/mrp/mps apply, including their operator forms (filter[quantity.greater_than], filter[bucket_start.between], filter[source.is_one_of], plus filter[product_sku.contains], filter[product_name.contains], filter[warehouse_name.contains], filter[id], filter[created_at] and filter[updated_at]).
format=xlsx (the default) returns a workbook; format=csv returns a comma-separated file. Any other value is treated as xlsx. At most 50,000 rows are exported.
mrp:read|manufacturing:readGrant this scope to your token under Settings → Developer → Personal Access Tokens.
Request
Responses
- 200
- 401
- 403
- 429
OK
Response Headers
Unauthenticated — the bearer token is missing, revoked, expired, or malformed. Never retry automatically; fix the credential. See the Errors guide.
Forbidden — the token lacks a required scope, the endpoint is not available to API tokens, or the user behind the token lacks the permission. A human must adjust the token scopes or user permissions; do not retry.
Rate limited — platform limit is 1,000 requests/min; individual tokens may carry lower limits. Honor the Retry-After header before retrying. See the Rate Limits guide.