---
schema_version: "1"
id: 43ae1eaea729976becbc56fbd1366afa68cd3c7ab522120b5a70389e1552aaf7
title: Committing CSV Export
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/retail_api/rtr_commiting_csv.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.retail_api.meta/retail_api/rtr_commiting_csv.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 8f263197a6197a637d89d707039cf2f21dc68220e569a7fd6a24aa4b4206b2cc
description: Use the Commit CSV Export API to commit a specific csvGuid and take the related CSV as a new baseline for future delta exports. This means after this commit, the next delta export contains only those records in the KPIs that have been either added, changed, or deleted from the previous committed state.
---
# Committing CSV Export

Use the Commit CSV Export API to commit a specific csvGuid and take the related CSV as a new baseline for future delta exports. This means after this commit, the next delta export contains only those records in the KPIs that have been either added, changed, or deleted from the previous committed state.

The current version of a metadata configuration is available in the response of Checking Job Status. For example: "metaVersion": 8. If the underlying RTR Report Configuration record in a Salesforce org changes, then the previous commit is no longer valid for a delta export. A full export is scheduled next time.

## Resource

/services/apexrest/cgcloud/measures/export/{{csvguid}}/commit

## Method

POST

## Path Parameters

| URL Parameter | Sample Value | Description |
| --- | --- | --- |
| csvGuid | 3b549543-d420-401a-b424-29c7f3c75713 | Enter the csvGuid value of the scheduled CSV export. This value is received as a response to the API request sent to Triggering CSV Exports API. |

## Request Parameters

| Parameter | Mandatory | Type | Description |
| --- | --- | --- | --- |
| businessyear | Yes | Integer | Enter the business year for which the CSV export must be triggered. |
| metaname | Yes | String | Enter the Internal Name of the RTR Report Configuration. |
| salesorg | Yes | String | Enter the Salesorg ID. |

## Sample Request Body

{
    "salesorg": "0001",
    "metaname": "IntegrationExportPromotion",
    "businessyear": 2024
}

## Sample Response Body

{"csvGuid":"5a2cb107-bc1f-4995-a782-291ec3d62d55","commitdate":"Fri, 01 Aug 2025 13:02:28 GMT"}