Create an export
How to create an export via API
To create a new export, send a POST
request to the /api/exports
endpoint, passing the resource arguments in the request body.
Request
POST https://yourdomain.commercelayer.io/api/exports
Arguments
Body Parameter | Type | Required |
---|---|---|
type |
| Required |
attributes.resource_type |
| Required |
attributes.format |
| Optional |
attributes.includes |
| Optional |
attributes.filters |
| Optional |
attributes.dry_data |
| Optional |
attributes.reference |
| Optional |
attributes.reference_origin |
| Optional |
attributes.metadata |
| Optional |
Example
The following request creates a new export:
Last updated