PUT /inventory-exports/{id}.json
Path parameters
-
Numeric ID of the instance
Minimum value is
1
.
Body Required
-
createdAt string(date-time)
Created at
-
Delivery
Values are
email
,s3
, ors3_external
. Default value iss3
. -
emails array[string] | null
Emails
-
Enabled
Default value is
true
. -
id integer(int32) | null
Id
-
Inventory type
Values are
all
,inventory_feeds
, orinhouse
. Default value isall
. -
lastExportedAt string(date-time) | null
Last exported at
-
Name
-
Overwrite
Default value is
true
. -
s3Bucket string | null
S3 bucket
-
s3Key string | null
S3 key
-
s3Path string | null
S3 path
-
s3Secret string | null
S3 secret
-
Scheduled type
Values are
shared
ordedicated
. Default value isshared
. -
Sending schedule
Values are
daily
,hourly
, ormanual
. Default value ismanual
. -
updatedAt string(date-time)
Updated at
PUT
/inventory-exports/{id}.json
curl \
-X PUT http://api.example.com/v1/inventory-exports/{id}.json \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H "Content-Type: application/json" \
-d '{"createdAt":"2024-05-04T09:42:00+00:00","delivery":"s3","emails":["string"],"enabled":true,"id":42,"inventoryType":"all","lastExportedAt":"2024-05-04T09:42:00+00:00","name":"string","overwrite":true,"s3Bucket":"string","s3Key":"string","s3Path":"string","s3Secret":"string","scheduledType":"shared","sendingSchedule":"manual","updatedAt":"2024-05-04T09:42:00+00:00"}'
Request example
{
"createdAt": "2024-05-04T09:42:00+00:00",
"delivery": "s3",
"emails": [
"string"
],
"enabled": true,
"id": 42,
"inventoryType": "all",
"lastExportedAt": "2024-05-04T09:42:00+00:00",
"name": "string",
"overwrite": true,
"s3Bucket": "string",
"s3Key": "string",
"s3Path": "string",
"s3Secret": "string",
"scheduledType": "shared",
"sendingSchedule": "manual",
"updatedAt": "2024-05-04T09:42:00+00:00"
}