sid required | string |
authorization | string |
name | string or null |
{- "name": "string"
}
{- "sid": "string",
- "name": "string",
- "created": "string",
- "updated": "string"
}
organizationSid | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "users": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "email": "string",
- "organizationSid": "string",
- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "employee": true,
- "password": true
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sidOrEmail required | string |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "email": "string",
- "organizationSid": "string",
- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "employee": true,
- "password": true
}
sidOrEmail required | string |
authorization | string |
firstName | string or null first name of the user |
lastName | string or null last name of the user |
phoneNumber | string or null optional phone number for the user |
newPassword | string or null the new password to be used for the account |
currentPassword | string or null the user's current password, must be provided if user is changing their password and has a current password |
{- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "newPassword": "string",
- "currentPassword": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "email": "string",
- "organizationSid": "string",
- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "employee": true,
- "password": true
}
organizationSid | string or null |
sid | Array of strings or null a repeatable query param to fetch one or many orders by sid. this is a fast way to do a bulk fetch. max allowed is 100 |
vendorSid | string or null filter the results to only items from orders that have this vendor sid |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "orders": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "vendorSid": "string",
- "vendorName": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "title": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
sid | string or null |
vendorSid | string or null selling factor organization sid. at least one of vendorSid or vendorName is required |
vendorName | string or null the name of the company the order is placed with. at least one of vendorSid or vendorName is required |
uniqueName | string or null an optional uniqueName that is unique per organization. this can act as the order's external unique id, or more friendly uniqueName than the sid |
title | string or null an optional title that can be used if uniqueName is not unique across your organization (e.g. if you want to have orders with the same title across multiple vendors) |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
{- "sid": "string",
- "vendorSid": "string",
- "vendorName": "string",
- "uniqueName": "string",
- "title": "string",
- "eventRelations": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "vendorSid": "string",
- "vendorName": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "title": "string"
}
sidOrUniqueName required | string the order sid or order unique name |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "vendorSid": "string",
- "vendorName": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "title": "string"
}
sidOrUniqueName required | string the order sid or order unique name |
authorization | string |
uniqueName | string or null |
vendorSid | string or null selling org sid |
vendorName | string or null selling org name |
title | string or null an optional title that can be used if uniqueName is not unique across your organization (e.g. if you want to have orders with the same title across multiple vendors) |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
{- "uniqueName": "string",
- "vendorSid": "string",
- "vendorName": "string",
- "title": "string",
- "eventRelations": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "vendorSid": "string",
- "vendorName": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "title": "string"
}
sidOrUniqueName required | string the order sid or order unique name |
eventTimeOnOrAfter | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "orderEvents": [
- {
- "id": "string",
- "eventTime": "string",
- "orderSid": "string",
- "eventType": "string",
- "event": { }
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
orderSid | Array of strings or null a repeatable query param to fetch one or many orders by sid. this is a fast way to do a bulk fetch. max allowed is 100 |
memberSid | string or null optional sid of user |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
[- {
- "orderMembers": [
- {
- "sid": "string",
- "orderSid": "string",
- "memberSid": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
]
authorization | string |
sid | string |
orderSid | string |
memberSid | string a UserSid |
{- "sid": "string",
- "orderSid": "string",
- "memberSid": "string"
}
{- "sid": "string",
- "orderSid": "string",
- "memberSid": "string"
}
orderMemberSid | Array of strings or null a repeatable query param to delete one or many order members by sid. this is a fast way to do a bulk delete. max allowed is 100 |
authorization required | string |
{- "code": "string",
- "message": "string"
}
orderSid | string or null |
string or null | |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "orderInvites": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "orderSid": "string",
- "email": "string",
- "inviterSid": "string",
- "expiration": "string",
- "firstName": "string",
- "lastName": "string",
- "organizationName": "string",
- "phoneNumber": "string",
- "messageTemplate": "string",
- "note": "string",
- "emailSent": "string",
- "cadenceSid": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
buyerSid | string or null only show items from orders that have this buyer sid |
vendorSid | string or null only show items from orders that have this vendor sid |
orderSid | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "items": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "orderSid": "string",
- "uniqueName": "string",
- "title": "string",
- "status": "string",
- "quantity": "string",
- "pricePerUnit": "string",
- "nonRecurringCost": "string",
- "leadTime": 0,
- "shipTime": 0,
- "organizationSid": "string",
- "lineNumber": 0,
- "description": "string",
- "manufacturerPartNumber": "string",
- "revision": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
uniqueName | string or null an identifier that is unique within an order |
title | string or null an optional non-unique description if the unique is not descriptive enough |
orderSid | string or null the factor sid for the order. at least one of orderSid and orderUniqueName must be present. if both are provided they must refer to the same object |
orderUniqueName | string or null the unique name for the order. at least one of orderSid and orderUniqueName must be present. if both are provided they must refer to the same object |
sid | string or null optional item sid as idempotency token |
status | string or null optional item status which indicates if active or canceled |
quantity | string |
pricePerUnit | string or null |
nonRecurringCost | string or null |
leadTime | integer or null |
shipTime | integer or null |
lineNumber | integer or null optional line number for this item |
description | string or null optional description |
manufacturerPartNumber | string or null optional manufacturer part number |
revision | string or null optional revision |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
{- "uniqueName": "string",
- "title": "string",
- "orderSid": "string",
- "orderUniqueName": "string",
- "sid": "string",
- "status": "string",
- "quantity": "string",
- "pricePerUnit": "string",
- "nonRecurringCost": "string",
- "leadTime": 0,
- "shipTime": 0,
- "lineNumber": 0,
- "description": "string",
- "manufacturerPartNumber": "string",
- "revision": "string",
- "eventRelations": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "orderSid": "string",
- "uniqueName": "string",
- "title": "string",
- "status": "string",
- "quantity": "string",
- "pricePerUnit": "string",
- "nonRecurringCost": "string",
- "leadTime": 0,
- "shipTime": 0,
- "organizationSid": "string",
- "lineNumber": 0,
- "description": "string",
- "manufacturerPartNumber": "string",
- "revision": "string"
}
sidOrUniqueName required | string |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "orderSid": "string",
- "uniqueName": "string",
- "title": "string",
- "status": "string",
- "quantity": "string",
- "pricePerUnit": "string",
- "nonRecurringCost": "string",
- "leadTime": 0,
- "shipTime": 0,
- "organizationSid": "string",
- "lineNumber": 0,
- "description": "string",
- "manufacturerPartNumber": "string",
- "revision": "string"
}
sidOrUniqueName required | string |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
authorization | string |
uniqueName | string or null the new unique name. supply null to remove the unique name |
title | string or null an optional non-unique description if the unique name is not descriptive enough. supply null to remove the title |
status | string or null |
quantity | string or null |
pricePerUnit | string or null |
nonRecurringCost | string or null |
leadTime | integer or null |
shipTime | integer or null |
lineNumber | integer or null optional line number for this item |
description | string or null optional description |
manufacturerPartNumber | string or null optional manufacturer part number |
revision | string or null optional revision |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
{- "uniqueName": "string",
- "title": "string",
- "status": "string",
- "quantity": "string",
- "pricePerUnit": "string",
- "nonRecurringCost": "string",
- "leadTime": 0,
- "shipTime": 0,
- "lineNumber": 0,
- "description": "string",
- "manufacturerPartNumber": "string",
- "revision": "string",
- "eventRelations": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "orderSid": "string",
- "uniqueName": "string",
- "title": "string",
- "status": "string",
- "quantity": "string",
- "pricePerUnit": "string",
- "nonRecurringCost": "string",
- "leadTime": 0,
- "shipTime": 0,
- "organizationSid": "string",
- "lineNumber": 0,
- "description": "string",
- "manufacturerPartNumber": "string",
- "revision": "string"
}
sidOrUniqueName required | string |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
authorization | string |
{- "code": "string",
- "message": "string"
}
sidOrUniqueName required | string |
eventTimeOnOrAfter | string or null |
pageToken | string or null |
pageSize | integer or null |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
authorization | string |
{- "itemEvents": [
- {
- "id": "string",
- "eventTime": "string",
- "itemSid": "string",
- "eventType": "string",
- "event": { }
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
itemSid | string or null |
statusNot | string or null If provided, return item groups whose status are not equal to this value |
title | string or null the item name that corresponds to the item group |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "itemGroups": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "quantity": "string",
- "dueDate": "string",
- "shipDate": "string",
- "deliveryDate": "string",
- "shipped": true,
- "delivered": true,
- "trackingNumber": "string",
- "version": 0,
- "lastUpdateDate": "string",
- "estimatedArrivalDate": "string",
- "uniqueName": "string",
- "orderSid": "string",
- "organizationSid": "string",
- "status": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
sid | string or null optional order item sid as idempotency token |
itemSid | string or null the factor sid for the item this item group belongs to. when creating item groups a unique reference to an item must be supplied. unique item references include itemSid, orderSid + itemUniqueName, or orderUniqueName + itemUniqueName. if multiple item references are provided they all must be consistent |
itemUniqueName | string or null the unique name of the item this item group belongs to. when creating item groups a unique reference to an item must be supplied. unique item references include itemSid, orderSid + itemUniqueName, or orderUniqueName + itemUniqueName. if multiple item references are provided they all must be consistent |
orderSid | string or null the factor sid for the order. when creating item groups a unique reference to an item must be supplied. unique item references include itemSid, orderSid + itemUniqueName, or orderUniqueName + itemUniqueName. if multiple item references are provided they all must be consistent |
orderUniqueName | string or null the unique name for the order. when creating item groups a unique reference to an item must be supplied. unique item references include itemSid, orderSid + itemUniqueName, or orderUniqueName + itemUniqueName. if multiple item references are provided they all must be consistent |
quantity | string how many quantity from the line item are in this group |
dueDate | string or null the most recent agreed upon date of delivery between buyer and seller |
shipDate | string or null estimated or actual ship date |
deliveryDate | string or null estimated or actual delivery date |
shipped | boolean has this shipped? |
delivered | boolean has this been delivered? |
trackingNumber | string or null |
lastUpdateDate | string or null last time item group was updated or confirmed |
uniqueName | string or null optional identifier that is unique within the item |
status | string or null optional identifier denoting item group status of either active or canceled |
organizationSid | string or null only used with Internal Robots to search for orders by order unique name. will throw an exception if it finds any other auth using this |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
{- "sid": "string",
- "itemSid": "string",
- "itemUniqueName": "string",
- "orderSid": "string",
- "orderUniqueName": "string",
- "quantity": "string",
- "dueDate": "string",
- "shipDate": "string",
- "deliveryDate": "string",
- "shipped": true,
- "delivered": true,
- "trackingNumber": "string",
- "lastUpdateDate": "string",
- "uniqueName": "string",
- "status": "string",
- "organizationSid": "string",
- "eventRelations": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "quantity": "string",
- "dueDate": "string",
- "shipDate": "string",
- "deliveryDate": "string",
- "shipped": true,
- "delivered": true,
- "trackingNumber": "string",
- "version": 0,
- "lastUpdateDate": "string",
- "estimatedArrivalDate": "string",
- "uniqueName": "string",
- "orderSid": "string",
- "organizationSid": "string",
- "status": "string"
}
sidOrUniqueName required | string |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
itemSid | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
itemUniqueName | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "quantity": "string",
- "dueDate": "string",
- "shipDate": "string",
- "deliveryDate": "string",
- "shipped": true,
- "delivered": true,
- "trackingNumber": "string",
- "version": 0,
- "lastUpdateDate": "string",
- "estimatedArrivalDate": "string",
- "uniqueName": "string",
- "orderSid": "string",
- "organizationSid": "string",
- "status": "string"
}
sidOrUniqueName required | string |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
itemSid | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
itemUniqueName | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
authorization | string |
quantity | string or null optional: new quantity value |
trackingNumber | string or null optional: new tracking number value. can be provided as null to remove tracking number |
dueDate | string or null optional: most recent agreed upon date of delivery between buyer and seller. can be provided as null to remove due date |
shipDate | string or null optional: estimated or actual ship date. can be provided as null to remove ship date |
shipped | boolean or null optional: controls whether the item has been shipped or not; should override ship date |
deliveryDate | string or null optional: estimated or actual delivery date. can be provided as null to remove delivery date |
delivered | boolean or null optional: controls whether the item has been delivered or not; takes precedence over delivery date if delivery date is null |
lastUpdateDate | string or null optional: last time item group was updated or confirmed. can be provided as null to remove last update date |
uniqueName | string or null optional: new unique name. can be provided as null to remove unique name |
status | string or null optional: identifier denoting item group status of either active or canceled |
confirmed | boolean or null Default: false allows callers to confirm dates are accurate without providing new dates |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
{- "quantity": "string",
- "trackingNumber": "string",
- "dueDate": "string",
- "shipDate": "string",
- "shipped": true,
- "deliveryDate": "string",
- "delivered": true,
- "lastUpdateDate": "string",
- "uniqueName": "string",
- "status": "string",
- "confirmed": false,
- "eventRelations": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "quantity": "string",
- "dueDate": "string",
- "shipDate": "string",
- "deliveryDate": "string",
- "shipped": true,
- "delivered": true,
- "trackingNumber": "string",
- "version": 0,
- "lastUpdateDate": "string",
- "estimatedArrivalDate": "string",
- "uniqueName": "string",
- "orderSid": "string",
- "organizationSid": "string",
- "status": "string"
}
sidOrUniqueName required | string |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
itemSid | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
itemUniqueName | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
authorization | string |
{- "code": "string",
- "message": "string"
}
authorization | string |
sid | string item group sid |
quantity | string or null optional: new quantity value |
trackingNumber | string or null optional: new tracking number value. can be provided as null to remove tracking number |
dueDate | string or null the most recent agreed upon date of delivery between buyer and seller |
shipDate | string or null optional: estimated or actual ship date. can be provided as null to remove ship date |
shipped | boolean or null optional: controls whether the item has been shipped or not; should override ship date |
deliveryDate | string or null optional: estimated or actual delivery date. can be provided as null to remove delivery date |
delivered | boolean or null optional: controls whether the item has been delivered or not; takes precedence over delivery date if delivery date is null |
lastUpdateDate | string or null optional: last time item group was updated or confirmed. can be provided as null to remove last update date |
uniqueName | string or null optional: new unique name. can be provided as null to remove unique name |
status | string or null optional: identifier denoting item group status of either active or canceled |
confirmed | boolean or null Default: false allows callers to confirm dates are accurate without providing new dates |
eventRelations | Array of strings or null an array of event relations, maximum number of sids allowed is 10 |
[- {
- "sid": "string",
- "quantity": "string",
- "trackingNumber": "string",
- "dueDate": "string",
- "shipDate": "string",
- "shipped": true,
- "deliveryDate": "string",
- "delivered": true,
- "lastUpdateDate": "string",
- "uniqueName": "string",
- "status": "string",
- "confirmed": false,
- "eventRelations": [
- "string"
]
}
]
[- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "quantity": "string",
- "dueDate": "string",
- "shipDate": "string",
- "deliveryDate": "string",
- "shipped": true,
- "delivered": true,
- "trackingNumber": "string",
- "version": 0,
- "lastUpdateDate": "string",
- "estimatedArrivalDate": "string",
- "uniqueName": "string",
- "orderSid": "string",
- "organizationSid": "string",
- "status": "string"
}
]
sidOrUniqueName required | string |
eventTimeOnOrAfter | string or null |
pageToken | string or null |
pageSize | integer or null |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
itemSid | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
itemUniqueName | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
authorization | string |
{- "itemGroupEvents": [
- {
- "id": "string",
- "eventTime": "string",
- "itemGroupSid": "string",
- "eventType": "string",
- "event": { }
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "applications": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "name": "string",
- "organization": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sid required | string |
authorization required | string |
regenerateSecret | boolean or null should the secret be regenerated? this will modify the secret when 'true' |
name | string or null a new name for the application |
{- "regenerateSecret": true,
- "name": "string"
}
{- "sid": "string",
- "secret": "string",
- "created": "string",
- "updated": "string",
- "name": "string",
- "organization": "string"
}
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "openOrderUploads": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "organization": "string",
- "status": "processing",
- "fileSid": "string",
- "fieldMappingSid": "string",
- "orderMemberUserSids": [
- "string"
], - "orderMemberEmails": [
- "string"
], - "forceItemGroupsNotPresentDelivered": true,
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "fileType": "string",
- "dataChangeGroupSid": "string",
- "openOrderUploadParametersSid": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
Upload a file of orders, items, and item groups. The columns available for the input file are documented here: https://coda.io/@factor-support/upload-csvs-in-factor
authorization | string |
sid | string or null optionally include an open order upload sid as an idempotency token. open order upload sids have prefix UP and total length 30, example: UP8ghcjdwj7f4wf7w37crmbphrpyxp |
file | string <binary> file content |
fieldMappingSid | string or null optional field mapping sid to support custom csv columns |
orderMemberEmails | string or null list of emails that should be added as order members or order invites |
orderMemberSids | string or null list of user sids that should be added as order members |
forceItemGroupsNotPresentDelivered | boolean or null nullable value, default is false. if true, item groups not present in upload will be marked as delivered |
membersToNotifyOnFailure | string or null comma separated list of emails OR user sids to receive notifications on failure to intake properly |
fileType | string or null file type of order upload. may be csv, xlsx, or xls. csv by default |
orderUniqueNameHash | string or null list of column names to be hashed to create the order's unique name |
dataChangeGroupSid | string or null optional data change group sid to support custom pre processing on csv based on the change group parameters |
openOrderUploadParametersSid | string or null a unique identifier for this open order upload create parameter. open order upload create parameter sids have prefix OU and total length 30, example: OU44bxbtbqchcqwwyy8chd73mmpy3j |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organization": "string",
- "status": "processing",
- "fileSid": "string",
- "fieldMappingSid": "string",
- "orderMemberUserSids": [
- "string"
], - "orderMemberEmails": [
- "string"
], - "forceItemGroupsNotPresentDelivered": true,
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "fileType": "string",
- "dataChangeGroupSid": "string",
- "openOrderUploadParametersSid": "string"
}
sid required | string open order upload sid |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organization": "string",
- "status": "processing",
- "fileSid": "string",
- "fieldMappingSid": "string",
- "orderMemberUserSids": [
- "string"
], - "orderMemberEmails": [
- "string"
], - "forceItemGroupsNotPresentDelivered": true,
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "fileType": "string",
- "dataChangeGroupSid": "string",
- "openOrderUploadParametersSid": "string"
}
openOrderUploadSid required | string open order upload sid, optional for internal. required for public api identities |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "openOrderUploadLogs": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "openOrderUploadSid": "string",
- "level": "debug",
- "message": "string",
- "openOrderUploadAttemptSid": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
itemGroupSid | Array of strings |
status | string or null |
flag | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "flags": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "dismissed": "string",
- "status": "string",
- "itemGroupSid": "string",
- "itemSid": "string",
- "orderSid": "string",
- "message": "string",
- "type": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sid required | string |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "dismissed": "string",
- "status": "string",
- "itemGroupSid": "string",
- "itemSid": "string",
- "orderSid": "string",
- "message": "string",
- "type": "string"
}
sid required | string |
authorization | string |
message | string or null |
status | string or null |
dismissed | string or null dismissed date time in RFC3339 format |
{- "message": "string",
- "status": "string",
- "dismissed": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "dismissed": "string",
- "status": "string",
- "itemGroupSid": "string",
- "itemSid": "string",
- "orderSid": "string",
- "message": "string",
- "type": "string"
}
itemGroupSid | string or null get the update requests for this itemGroupSid |
organizationSid | string or null only used with Robots. will throw an exception if it finds any other auth using this. |
sortOrder | string or null maps to Factor enum type Sort |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "updateRequests": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemGroupSid": "string",
- "organizationSid": "string",
- "note": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
itemGroupSid | string the item this update request maps to |
note | string or null the note corresponding to this update request |
{- "itemGroupSid": "string",
- "note": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemGroupSid": "string",
- "organizationSid": "string",
- "note": "string"
}
nextUpdateOnOrBefore | string or null |
cadenceSid | string or null |
pageToken | string or null |
pageSize | integer or null |
vendorSid | string or null a vendor sid, should grab the update requests for all buyers that have update request configs on correpsonding item groups |
authorization | string |
{- "updateRequestConfigs": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemGroupSid": "string",
- "organizationSid": "string",
- "startDate": "string",
- "nextUpdate": "string",
- "cadenceSid": "string",
- "attempts": 0,
- "lastAttempt": "string",
- "version": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
itemGroupSid | string the item this update request configuration maps to |
nextUpdate | string the date for the next time we perform an update request |
startDate | string or null the date for when the automatic update request cycle begins |
cadenceSid | string or null the cadence sid corresponding to this update request |
{- "itemGroupSid": "string",
- "nextUpdate": "string",
- "startDate": "string",
- "cadenceSid": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemGroupSid": "string",
- "organizationSid": "string",
- "startDate": "string",
- "nextUpdate": "string",
- "cadenceSid": "string",
- "attempts": 0,
- "lastAttempt": "string",
- "version": "string"
}
sid required | string can either be a UpdateRequestConfigSid or an ItemGroupSid |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemGroupSid": "string",
- "organizationSid": "string",
- "startDate": "string",
- "nextUpdate": "string",
- "cadenceSid": "string",
- "attempts": 0,
- "lastAttempt": "string",
- "version": "string"
}
sid required | string |
authorization | string |
nextUpdate | string or null the date for the next time we perform an update request |
startDate | string or null the date for when the automatic update request cycle begins |
cadenceSid | string or null the cadence sid corresponding to this update request, this will also reset attempts and lastAttempt if set |
incrementAttempts | boolean Default: false increments the attempts of the update request config by 1 if true |
currentVersion | string the current version of this update request config, required |
{- "nextUpdate": "string",
- "startDate": "string",
- "cadenceSid": "string",
- "incrementAttempts": false,
- "currentVersion": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemGroupSid": "string",
- "organizationSid": "string",
- "startDate": "string",
- "nextUpdate": "string",
- "cadenceSid": "string",
- "attempts": 0,
- "lastAttempt": "string",
- "version": "string"
}
itemSid required | string |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "itemCustomFields": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "name": "string",
- "value": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
sid | string or null optional sid as idempotency token |
itemSid | string |
name | string name must be unique for an item |
value | string |
{- "sid": "string",
- "itemSid": "string",
- "name": "string",
- "value": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "itemSid": "string",
- "name": "string",
- "value": "string"
}
authorization | string |
sid | string or null optional user sid as idempotency token |
content | string |
orderSids | Array of strings or null |
itemSids | Array of strings or null |
itemGroupSids | Array of strings or null |
{- "sid": "string",
- "content": "string",
- "orderSids": [
- "string"
], - "itemSids": [
- "string"
], - "itemGroupSids": [
- "string"
]
}
{- "sid": "string",
- "organizationSid": "string",
- "outboundEmailReplySid": "string",
- "created": "string",
- "updated": "string",
- "author": "string",
- "content": "string"
}
sid required | string |
authorization | string |
{- "sid": "string",
- "organizationSid": "string",
- "outboundEmailReplySid": "string",
- "created": "string",
- "updated": "string",
- "author": "string",
- "content": "string"
}
sidOrUniqueName required | string |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "messages": [
- {
- "sid": "string",
- "organizationSid": "string",
- "outboundEmailReplySid": "string",
- "created": "string",
- "updated": "string",
- "author": "string",
- "content": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sidOrUniqueName required | string |
pageToken | string or null |
pageSize | integer or null |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
authorization | string |
{- "messages": [
- {
- "sid": "string",
- "organizationSid": "string",
- "outboundEmailReplySid": "string",
- "created": "string",
- "updated": "string",
- "author": "string",
- "content": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sidOrUniqueName required | string |
pageToken | string or null |
pageSize | integer or null |
orderSid | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
orderUniqueName | string or null order the item is from if supplying item unique name in the path. this is not needed if using item sid in the path |
itemSid | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
itemUniqueName | string or null item the item group is from if supplying item group unique name in the path. this is not needed if using item group sid in the path |
authorization | string |
{- "messages": [
- {
- "sid": "string",
- "organizationSid": "string",
- "outboundEmailReplySid": "string",
- "created": "string",
- "updated": "string",
- "author": "string",
- "content": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
eventTimeOnOrAfter | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "events": [
- {
- "sid": "string",
- "eventTime": "string",
- "organizationSid": "string",
- "eventType": "string",
- "event": { }
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sid required | string |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "eventTime": "string",
- "organizationSid": "string",
- "eventType": "string",
- "event": { }
}
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "fileExports": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "deleteAfter": "string",
- "status": "string",
- "fileType": "string",
- "fieldMappingSid": "string",
- "query": {
- "orders": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "items": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "itemGroups": [
- {
- "name": "string",
- "values": [
- "string"
]
}
]
}
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
sid | string or null optional sid to use as an idempotency token |
object (FileExportQuery) selections for the data | |
fieldMappingSid | string or null optional field mapping sid to support custom csv columns |
{- "sid": "string",
- "query": {
- "orders": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "items": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "itemGroups": [
- {
- "name": "string",
- "values": [
- "string"
]
}
]
}, - "fieldMappingSid": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "deleteAfter": "string",
- "status": "string",
- "fileType": "string",
- "fieldMappingSid": "string",
- "query": {
- "orders": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "items": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "itemGroups": [
- {
- "name": "string",
- "values": [
- "string"
]
}
]
}
}
sid required | string file export sid |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "deleteAfter": "string",
- "status": "string",
- "fileType": "string",
- "fieldMappingSid": "string",
- "query": {
- "orders": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "items": [
- {
- "name": "string",
- "values": [
- "string"
]
}
], - "itemGroups": [
- {
- "name": "string",
- "values": [
- "string"
]
}
]
}
}
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "fieldMappings": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "name": "string",
- "importAllowed": true,
- "exportAllowed": true
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
sid | string or null optional sid as idempotency token |
name | string or null optional name of the mapping group |
importAllowed | boolean or null when true this field map can be used to import data into factor |
exportAllowed | boolean or null when true this field map can be used to export data from factor |
{- "sid": "string",
- "name": "string",
- "importAllowed": true,
- "exportAllowed": true
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "name": "string",
- "importAllowed": true,
- "exportAllowed": true
}
sid required | string field mapping sid |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "name": "string",
- "importAllowed": true,
- "exportAllowed": true
}
fieldMappingSid | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization | string |
{- "mappedFields": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "fieldMappingSid": "string",
- "name": "string",
- "mappedFieldType": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization | string |
sid | string or null optional sid as idempotency token |
fieldMappingSid | string |
name | string the column name as it exists in the customer's csv |
mappedFieldType | string the column's meaning when it is imported into factor |
{- "sid": "string",
- "fieldMappingSid": "string",
- "name": "string",
- "mappedFieldType": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "fieldMappingSid": "string",
- "name": "string",
- "mappedFieldType": "string"
}
sid required | string mapped field sid |
authorization | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "fieldMappingSid": "string",
- "name": "string",
- "mappedFieldType": "string"
}
sid | Array of strings or null a repeatable query param to fetch one or many boms by sid. this is a fast way to do a bulk fetch. max allowed is 100 |
uniqueName | Array of strings or null a repeatable query param to fetch one or many boms by unique name. this is a fast way to do a bulk fetch. max allowed is 100 |
ctbLessThanEqualTo | string or null optional parameter that will return boms that have associated clear to builds with today's date with a build quantity less than or equal to the given integer |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "boms": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "uniqueName": "string",
- "version": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null optional sid to use as an idempotency token |
uniqueName | string a unique name for this bom |
{- "sid": "string",
- "uniqueName": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "uniqueName": "string",
- "version": "string"
}
sidOrUniqueName required | string bom sid or unique name |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "uniqueName": "string",
- "version": "string"
}
bomSid | string or null |
includeTotalCount | boolean or null |
orderBy | string or null order the list by any one of the following values: ctb, requiredQuantity, orderedQuantity, inventoryQuantity |
sortOrder | string or null order of the result set: 'Asc' or 'Desc'. default 'Asc' |
uniqueName | string or null the unique name of the bom line |
inventoryCountLessThanEqualTo | string or null inventory count equals or less than |
orderedQuantityLessThanEqualTo | string or null ordered quantity equals or less than |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "bomLines": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "bomSid": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "requiredQuantity": "string",
- "version": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string bom line sid |
bomSid | string or null the factor sid for the bom. at least one of bomSid and bomUniqueName must be present. if both are provided they must refer to the same object |
uniqueName | string unique name of bom line |
requiredQuantity | string the required quantity of this bom line to make the bom |
{- "sid": "string",
- "bomSid": "string",
- "uniqueName": "string",
- "requiredQuantity": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "bomSid": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "requiredQuantity": "string",
- "version": "string"
}
sidOrUniqueName required | string |
bomSid | string or null bom the bom line is from if supplying bom line unique name in the path. this is not needed if using bom line sid in the path |
bomUniqueName | string or null unique name of the bom the bom line is from if supplying bom line unique name in the path. this is not needed if using bom line sid in the path |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "bomSid": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "requiredQuantity": "string",
- "version": "string"
}
sidOrUniqueName required | string |
bomSid | string or null Bom the bom line is from if supplying bom unique name in the path. This is not needed if using bom sid in the path |
bomUniqueName | string or null unique name of the bom the bom line is from if supplying bom line unique name in the path. this is not needed if using bom line sid in the path |
authorization required | string |
requiredQuantity | string the required quantity of this bom line to make the bom |
{- "requiredQuantity": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "bomSid": "string",
- "organizationSid": "string",
- "uniqueName": "string",
- "requiredQuantity": "string",
- "version": "string"
}
sidOrUniqueName required | string |
bomSid | string or null Bom the bom line is from if supplying bom unique name in the path. This is not needed if using bom sid in the path |
bomUniqueName | string or null unique name of the bom the bom line is from if supplying bom line unique name in the path. this is not needed if using bom line sid in the path |
authorization required | string |
{- "code": "string",
- "message": "string"
}
organizationSid | string or null grabs inventory counts for all parts within an org |
dateBefore | string or null grabs inventory counts for all parts with recording dates on or before this date |
dateAfter | string or null grabs inventory counts for all parts with recording dates after this date |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "inventoryCounts": [
- {
- "sid": "string",
- "created": "string",
- "recordingDate": "string",
- "count": 0,
- "uniqueName": "string",
- "title": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null optional inventory count sid as idempotency token |
recordingDate | string or null date of the recording of this part in RFC3339 format. if nullable, current time will be assumed |
count | integer the number of this particular part that's in inventory |
uniqueName | string a unique name for this part that's in inventory |
title | string or null a non-unique name referring to the inventory count |
{- "sid": "string",
- "recordingDate": "string",
- "count": 0,
- "uniqueName": "string",
- "title": "string"
}
{- "sid": "string",
- "created": "string",
- "recordingDate": "string",
- "count": 0,
- "uniqueName": "string",
- "title": "string"
}
sidOrName required | string inventory count sid or unique name |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "recordingDate": "string",
- "count": 0,
- "uniqueName": "string",
- "title": "string"
}
organizationSid | string or null the organization that owns the clear to build |
startDate | string or null grabs clear to builds on or after this date |
endDate | string or null grabs clear to builds on or before this date |
sid | Array of strings or null a repeatable query param to fetch one or many clear to builds by bom or bom line sid. this is a fast way to do a bulk fetch. max allowed is 100 |
buildQuantityLessThanEqualTo | string or null optional parameter that will return clear to builds with a build quantity less than or equal to the given integer |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "clearToBuilds": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "referenceSid": "string",
- "buildDate": "string",
- "buildQuantity": "string",
- "type": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null optional clear to build sid as idempotency token |
organizationSid | string organization that owns the clear to build |
referenceSid | string bom or bom line the clear to build reflects |
buildDate | string the date the boms or bom lines can be built in RFC3339 format |
buildQuantity | string the number of boms or bom lines that can be built |
type | string denotes the type of clear to build, expected or actual |
{- "sid": "string",
- "organizationSid": "string",
- "referenceSid": "string",
- "buildDate": "string",
- "buildQuantity": "string",
- "type": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "referenceSid": "string",
- "buildDate": "string",
- "buildQuantity": "string",
- "type": "string"
}
sid required | string |
authorization required | string |
buildQuantity | string the number of boms or bom lines that can be built |
{- "buildQuantity": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "referenceSid": "string",
- "buildDate": "string",
- "buildQuantity": "string",
- "type": "string"
}
organizationSid | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "bomUploads": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organizationSid": "string",
- "originatingIdentity": "string",
- "fieldMappingSid": "string",
- "status": "string",
- "fileType": "string",
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "rowCountTotal": 0,
- "dataChangeGroupSid": "string",
- "bomUploadParametersSid": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sid required | string bom upload sid |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organizationSid": "string",
- "originatingIdentity": "string",
- "fieldMappingSid": "string",
- "status": "string",
- "fileType": "string",
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "rowCountTotal": 0,
- "dataChangeGroupSid": "string",
- "bomUploadParametersSid": "string"
}
Upload a file of Boms and Bom Lines. The columns available for the input file are documented here: https://coda.io/@factor-support/upload-csvs-in-factor
authorization required | string |
sid | string or null optionally include a sid as an idempotency token |
file | string <binary> file content |
organizationSid | string or null optional org sid, only used for internal applications / phoenix users. all other user types take the org from the auth header |
fieldMappingSid | string or null optional field mapping map sid to support custom csv columns |
fileType | string or null file type of bom upload. may be csv, xlsx, or xls. default csv if not provided |
dataChangeGroupSid | string or null optional data change group sid to support custom pre processing on csv based on the change group parameters |
bomUploadParametersSid | string or null optionally supply parameters to this upload using a sid reference. if provided, parameters supplied in the request body will override parameters supplied via this sid. bom upload parameter sids have prefix BU and total length 30, example: BU19jxbkdpweojdwie8ejr92mmpy2u |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organizationSid": "string",
- "originatingIdentity": "string",
- "fieldMappingSid": "string",
- "status": "string",
- "fileType": "string",
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "rowCountTotal": 0,
- "dataChangeGroupSid": "string",
- "bomUploadParametersSid": "string"
}
organizationSid | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "inventoryUploads": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organization": "string",
- "status": "string",
- "fieldMappingSid": "string",
- "originatingIdentity": "string",
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "rowCountTotal": 0,
- "fileType": "string",
- "inventoryUniqueNameHash": [
- "string"
], - "dataChangeGroupSid": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sid required | string inventory upload sid |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organization": "string",
- "status": "string",
- "fieldMappingSid": "string",
- "originatingIdentity": "string",
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "rowCountTotal": 0,
- "fileType": "string",
- "inventoryUniqueNameHash": [
- "string"
], - "dataChangeGroupSid": "string"
}
Upload a file of inventory counts. The columns available for the input file are documented here: https://coda.io/@factor-support/upload-csvs-in-factor
authorization required | string |
sid | string or null optionally include an inventory upload sid as an idempotency token. prefix is IP and total length is 30 ex: 'IPgw3vjhj99448v6jfgvk4xvctghm9' |
file | string <binary> file content |
fieldMappingSid | string or null optional field mapping map sid to support alternate column headers |
fileType | string or null file type of inventory upload. may be csv, xlsx, or xls. default csv if not provided |
inventoryUniqueNameHash | Array of strings or null list of column names to be hashed to create the inventory count's unique name. inventory count unique name must be unique across your organization. use this if there is no column in the inventory upload file that can uniquely identify each row |
dataChangeGroupSid | string or null optional data change group sid to support custom pre processing on csv based on the change group parameters |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organization": "string",
- "status": "string",
- "fieldMappingSid": "string",
- "originatingIdentity": "string",
- "rowCountSuccess": 0,
- "rowCountFailure": 0,
- "rowCountTotal": 0,
- "fileType": "string",
- "inventoryUniqueNameHash": [
- "string"
], - "dataChangeGroupSid": "string"
}
sid required | string clear to build target sid |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "bomSid": "string",
- "quantity": "string",
- "durationLength": 0,
- "durationType": "string",
- "startDate": "string"
}
sid required | string |
authorization required | string |
quantity | string or null the number of boms to build |
durationLength | integer or null the number of days/weeks/months/years to target |
durationType | string or null denotes the type of duration: day, week, month, quarter, halfyear, year |
startDate | string the date the target should start calculating on |
{- "quantity": "string",
- "durationLength": 0,
- "durationType": "string",
- "startDate": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "bomSid": "string",
- "quantity": "string",
- "durationLength": 0,
- "durationType": "string",
- "startDate": "string"
}
organizationSid | string or null |
bomSid | Array of strings or null A repeatable query param to fetch one or many clear to build targets by bom sid. This is a fast way to do a bulk fetch. Max allowed is 100. |
orderBy | string or null optional sorting param which allows sort by startDate, will sort by insert order if null |
sortOrder | string or null order of the result set: 'Asc' or 'Desc'. default 'Asc' |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "clearToBuildTargets": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "bomSid": "string",
- "quantity": "string",
- "durationLength": 0,
- "durationType": "string",
- "startDate": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string optionally include a sid as an idempotency token |
organizationSid | string or null optional org sid, only used for internal applications / phoenix users. all other user types take the org from the auth header |
bomSid | string the bom being built |
quantity | string the number of boms to build |
durationLength | integer the number of days/weeks/months/years to target |
durationType | string denotes the type of duration: day, week, month, quarter, halfyear, year |
startDate | string the date the target should start calculating on |
{- "sid": "string",
- "organizationSid": "string",
- "bomSid": "string",
- "quantity": "string",
- "durationLength": 0,
- "durationType": "string",
- "startDate": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "bomSid": "string",
- "quantity": "string",
- "durationLength": 0,
- "durationType": "string",
- "startDate": "string"
}
sid required | string email opt out sid |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "email": "string",
- "optOut": "string"
}
string or null | |
optOut | string or null |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "emailOptOuts": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "email": "string",
- "optOut": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
organizationSid | string or null |
fromWriter | boolean should this query against the writer database? |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "cadences": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "delaySeconds": "string",
- "unresponsiveAfterBusinessDays": "string",
- "maxAttempts": "string",
- "messageType": "string",
- "title": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null the sid corresponding to the cadence. For example, a cadenceSid is CAv9ppbmtkk3q4gk7hx8wf3dty7tvf |
organizationSid | string or null organization sid |
delaySeconds | string how often the cadence executes in seconds |
unresponsiveAfterBusinessDays | string or null number of business days to wait until this cadence is unresponsive |
maxAttempts | string or null max number of attempts |
messageType | string represents the outbound message type, please check CadenceMessageType for options |
title | string or null optional title for this cadence |
{- "sid": "string",
- "organizationSid": "string",
- "delaySeconds": "string",
- "unresponsiveAfterBusinessDays": "string",
- "maxAttempts": "string",
- "messageType": "string",
- "title": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "delaySeconds": "string",
- "unresponsiveAfterBusinessDays": "string",
- "maxAttempts": "string",
- "messageType": "string",
- "title": "string"
}
sid required | string cadence sid |
authorization required | string |
delaySeconds | string or null how often the cadence executes in seconds |
maxAttempts | string or null max number of attempts |
messageType | string or null represents the outbound message type, please check CadenceMessageType for options |
title | string or null optional title for this cadence |
{- "delaySeconds": "string",
- "maxAttempts": "string",
- "messageType": "string",
- "title": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "delaySeconds": "string",
- "unresponsiveAfterBusinessDays": "string",
- "maxAttempts": "string",
- "messageType": "string",
- "title": "string"
}
sid required | string cadence sid |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "organizationSid": "string",
- "delaySeconds": "string",
- "unresponsiveAfterBusinessDays": "string",
- "maxAttempts": "string",
- "messageType": "string",
- "title": "string"
}
sid required | string Organization SID |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "defaultTimeZone": "string",
- "defaultUnresponsiveAfterBusinessDays": 0,
- "defaultItemGroupCadence": "string",
- "sendAutomatedUpdateRequests": true,
- "pastDueBusinessDays": 0,
- "defaultPastDueCadenceSid": "string"
}
sid required | string Organization SID |
authorization required | string |
defaultTimeZone | string The default time zone for the organization. It determines the time zone context for operations and schedules. Example default is 'America/New_York'. |
defaultUnresponsiveAfterBusinessDays | integer The number of business days before an vendor/organization is considered unresponsive. This is used to trigger alerts or actions for inactivity or delayed responses. |
defaultItemGroupCadence | string The default cadence for item grouping within the organization. This might define intervals for reviews, updates, or other recurring organizational tasks. |
sendAutomatedUpdateRequests | boolean or null Whether update requests will be automatically sent or not. |
pastDueBusinessDays | integer or null The number of past due business days. |
defaultPastDueCadenceSid | string or null The default cadence for past due. |
{- "defaultTimeZone": "string",
- "defaultUnresponsiveAfterBusinessDays": 0,
- "defaultItemGroupCadence": "string",
- "sendAutomatedUpdateRequests": true,
- "pastDueBusinessDays": 0,
- "defaultPastDueCadenceSid": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "defaultTimeZone": "string",
- "defaultUnresponsiveAfterBusinessDays": 0,
- "defaultItemGroupCadence": "string",
- "sendAutomatedUpdateRequests": true,
- "pastDueBusinessDays": 0,
- "defaultPastDueCadenceSid": "string"
}
sid required | string cadence transition sid |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "cadenceSid": "string",
- "condition": "string",
- "conditionParameters": { },
- "action": "string",
- "actionParameters": { },
- "title": "string"
}
sid required | string |
authorization required | string |
currentVersion | string |
condition | string or null The type of condition for the cadence transition |
conditionParameters | object or null Detailed parameters for the condition. Possible structures include ItemGroupBusinessDaysParams (e.g., {'businessDays': 5}), MaxAttemptsParams (e.g., {'maxAttempts': 3}), FlagCreatedParams (e.g., {'flagTypeRegexes': ['^urgent$', '^highPriority$']}), or BusinessDaysInStateParams (e.g., {'businessDaysAfterFinalAttempt': 7, 'totalBusinessDaysInState': 10}). |
action | string or null The type of action to be taken for the cadence transition |
actionParameters | object or null Detailed parameters for the action. Possible structures include CadenceActionParams (e.g., {'cadenceSid': 'C1234567890'}), or WebhookActionParams (e.g., {'url': 'https://example.com/webhook'}). |
title | string or null cadence transition Title |
{- "currentVersion": "string",
- "condition": "string",
- "conditionParameters": { },
- "action": "string",
- "actionParameters": { },
- "title": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "cadenceSid": "string",
- "condition": "string",
- "conditionParameters": { },
- "action": "string",
- "actionParameters": { },
- "title": "string"
}
cadenceSid | string or null |
organizationSid | string or null |
condition | string or null |
fromWriter | boolean should this query against the writer database? |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "cadenceTransitions": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "cadenceSid": "string",
- "condition": "string",
- "conditionParameters": { },
- "action": "string",
- "actionParameters": { },
- "title": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null optionally include a sid as an idempotency token |
organizationSid | string Organization SID |
cadenceSid | string Cadence SID, must be owned by this org or no org |
condition | string The type of condition for the cadence transition |
conditionParameters | object or null Detailed parameters for the condition. Possible structures include ItemGroupBusinessDaysParams (e.g., {'businessDays': 5}), MaxAttemptsParams (e.g., {'maxAttempts': 3}), FlagCreatedParams (e.g., {'flagTypeRegexes': ['^urgent$', '^highPriority$']}), or BusinessDaysInStateParams (e.g., {'businessDaysAfterFinalAttempt': 7, 'totalBusinessDaysInState': 10}). |
action | string The type of action to be taken for the cadence transition |
actionParameters | object or null Detailed parameters for the action. Possible structures include CadenceActionParams (e.g., {'cadenceSid': 'CA6pv8rfb3jtf6wktpq9rd69hvmfcd'}), or WebhookActionParams (e.g., {'url': 'https://example.com/webhook'}). |
{- "sid": "string",
- "organizationSid": "string",
- "cadenceSid": "string",
- "condition": "string",
- "conditionParameters": { },
- "action": "string",
- "actionParameters": { }
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "cadenceSid": "string",
- "condition": "string",
- "conditionParameters": { },
- "action": "string",
- "actionParameters": { },
- "title": "string"
}
sidOrReferenceSid required | string |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "referenceSid": "string",
- "cadenceSid": "string",
- "lastUpdateDate": "string",
- "nextUpdateDate": "string",
- "attempts": 0
}
sidOrReferenceSid required | string |
authorization required | string |
cadenceSid | string Cadence SID, must be owned by this org or no org |
nextUpdateDate | string or null optional: next update date. can be provided as null to remove next update date, this is a pause action |
currentVersion | string the current version of this cadence tracker update, required |
{- "cadenceSid": "string",
- "nextUpdateDate": "string",
- "currentVersion": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "referenceSid": "string",
- "cadenceSid": "string",
- "lastUpdateDate": "string",
- "nextUpdateDate": "string",
- "attempts": 0
}
organizationSid | string or null |
nextUpdateDateBefore | string or null |
fromWriter | boolean should this query against the writer database? |
pageToken | string or null |
pageSize | integer or null |
authorization required | string |
{- "cadenceTrackers": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "referenceSid": "string",
- "cadenceSid": "string",
- "lastUpdateDate": "string",
- "nextUpdateDate": "string",
- "attempts": 0
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null optionally include a sid as an idempotency token |
organizationSid | string or null Optional Organization SID, only needed if an internal app is making trackers |
referenceSid | string Any reference sid |
cadenceSid | string Cadence SID, must be owned by this org or no org |
lastUpdateDate | string or null last update date time in RFC3339 format |
nextUpdateDate | string or null next update date time in RFC3339 format |
attempts | integer attempts |
{- "sid": "string",
- "organizationSid": "string",
- "referenceSid": "string",
- "cadenceSid": "string",
- "lastUpdateDate": "string",
- "nextUpdateDate": "string",
- "attempts": 0
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "referenceSid": "string",
- "cadenceSid": "string",
- "lastUpdateDate": "string",
- "nextUpdateDate": "string",
- "attempts": 0
}
sid required | string |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "fromEmail": "string",
- "toEmails": [
- "string"
], - "ccEmails": [
- "string"
], - "content": "string",
- "s3Bucket": "string",
- "s3Key": "string"
}
authorization required | string |
sid | string or null A unique identifier for this inbound email. InboundEmailSids have a prefix of IE and a total length of 30, example: IExqhpy3m78c7vq94p86q4cfrpkyhg |
organizationSid | string or null A unique identifier for the organization associated to this inbound email. Organization sids have a prefix OG and a total length of 30, example: OGrqf4e1vecgf5x9vmwb9pvp6r9ab1. |
fromEmail | string sender of the email |
toEmails | Array of strings recipients of the email |
ccEmails | Array of strings or null recipients copied in the email |
subject | string email's subject |
content | string or null email's first lines of content |
date | string email date time in RFC3339 format |
attachmentNames | Array of strings or null attachment names in the email |
{- "sid": "string",
- "organizationSid": "string",
- "fromEmail": "string",
- "toEmails": [
- "string"
], - "ccEmails": [
- "string"
], - "subject": "string",
- "content": "string",
- "date": "string",
- "attachmentNames": [
- "string"
]
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": 0,
- "organizationSid": "string",
- "fromEmail": "string",
- "toEmails": [
- "string"
], - "ccEmails": [
- "string"
], - "content": "string",
- "s3Bucket": "string",
- "s3Key": "string",
- "frontUrl": "string"
}
inboundEmailSid | string |
fromWriter | boolean should this query against the writer database? |
pageToken | string |
pageSize | integer |
authorization required | string |
{- "inboundEmailAttachments": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "status": "string",
- "organizationSid": "string",
- "s3Bucket": "string",
- "s3Key": "string",
- "inboundEmailSid": "string",
- "mimeType": "string",
- "size": 0,
- "name": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
sid required | string |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "status": "string",
- "organizationSid": "string",
- "s3Bucket": "string",
- "s3Key": "string",
- "inboundEmailSid": "string",
- "mimeType": "string",
- "size": 0,
- "name": "string"
}
organizationSid | string or null Filters event relations based on orgnization sid. |
eventSid | string or null Filters event relations based on event sid. |
eventType | string or null Filters event relations based on event type. |
relation | string or null Filters event relations based on relation. |
pageToken | string or null |
pageSize | integer or null |
sortOrder | string or null |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "eventRelationList": [
- {
- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organizationSid": "string",
- "eventSid": "string",
- "eventType": "string",
- "relation": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null A unique identifier for the event relation. EventRelation sids have a prefix of VR and a total length of 30, example: VRw3rqw7h9dcxjmvwbb6mg7httqr4r |
eventSid | string Event Sid |
eventType | string the event type of the referenced event |
relation | string relates to the referenced event, for example: factor:createdByAiParse:AiParseSid |
{- "sid": "string",
- "eventSid": "string",
- "eventType": "string",
- "relation": "string"
}
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organizationSid": "string",
- "eventSid": "string",
- "eventType": "string",
- "relation": "string"
}
sid required | string |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "organizationSid": "string",
- "eventSid": "string",
- "eventType": "string",
- "relation": "string"
}
organizationSid | string or null Filters google auth tokens based on organizationSid. |
string or null Filters google auth tokens based on email. | |
userSid | string or null Filters google auth tokens based on user sid. |
pageToken | string or null |
pageSize | integer or null |
sortOrder | string or null maps to Factor enum type Sort: 'Asc' and 'Desc' |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "gmailWatchSubscriptionList": [
- {
- "sid": "string",
- "organizationSid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "email": "string",
- "userSid": "string",
- "expires": "string",
- "historyId": "string"
}
], - "page": {
- "previousPageToken": "string",
- "nextPageToken": "string"
}
}
authorization required | string |
sid | string or null A unique identifier for the Gmail Watch Subscription. GmailWatchSubscription sids have a prefix of GW and a total length of 30, example: GWx93t7jy3jgcctbhwc6dwgk8py3qy |
organizationSid | string A unique identifier for the Organization. Organization sids have a prefix of OG and a total length of 30, example: OGh8qq6q8k6rkbm79cwfphwhxdqygx |
string The email address to be watched | |
expires | string Expiration date time of the watch in RFC3339 format |
historyId | string Initial history ID for this watch |
userSid | string unique sid for the user. User sids have a prefix of OG and a total length of 30, example: USh8qq6q8k6rkbm79cwfphwhxdqygx |
bearerToken | string bearer token used to call gmail watch api |
topicName | string topic name used as a param in the google api watch call |
{- "sid": "string",
- "organizationSid": "string",
- "email": "string",
- "expires": "string",
- "historyId": "string",
- "userSid": "string",
- "bearerToken": "string",
- "topicName": "string"
}
{- "sid": "string",
- "organizationSid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "email": "string",
- "userSid": "string",
- "expires": "string",
- "historyId": "string"
}
sid required | string |
fromWriter | boolean should this query against the writer database? |
authorization required | string |
{- "sid": "string",
- "organizationSid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "email": "string",
- "userSid": "string",
- "expires": "string",
- "historyId": "string"
}
sid required | string |
authorization required | string |
currentVersion | string Current version to be updated |
string or null The email address to be watched | |
expires | string or null New expiration date time of the watch in RFC3339 format |
historyId | string or null New last processed history ID for this watch |
{- "currentVersion": "string",
- "email": "string",
- "expires": "string",
- "historyId": "string"
}
{- "sid": "string",
- "organizationSid": "string",
- "created": "string",
- "updated": "string",
- "version": "string",
- "email": "string",
- "userSid": "string",
- "expires": "string",
- "historyId": "string"
}