FulcrumProduct.PublicApi (1.0)
Download OpenAPI specification:Download
Create an accounting code
Request Body schema:
name required | string [ 1 .. 200 ] characters Descriptive name associated to the object |
style required | string (CommonEnumStyleEnum) Enum: "primary" "secondary" "success" "danger" "warning" "info" "light" "dark" "connected" Style enum (for tags). |
description | string or null [ 1 .. 200 ] characters Descriptive name associated to the object |
Responses
Request samples
- Payload
{- "name": "string",
- "style": "primary",
- "description": "string"
}
Response samples
- 200
{- "id": "string"
}
Find accounting codes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Create an attachment
Request Body schema: multipart/form-data
The file itself
File required | string <binary> The file itself |
Detail.Owner.Type | string (CommonEnumOwnerTypeEnum) Enum: "salesOrder" "salesOrderPartLineItem" "quote" "quotePartLineItem" "purchaseOrder" "purchaseOrderPartLineItem" "invoice" "workOrderOperation" "operation" "inventoryLot" "item" "job" Owner types |
Detail.Owner.Id | string [ 24 .. 36 ] characters The primary owner id of this attachment. |
Detail.Description | string [ 1 .. 200 ] characters File description |
Detail.AttachmentType | string (CommonEnumAttachmentTypeEnum) Enum: "standard" "externalAccessDocument" "certification" Attachment types |
Detail.IsNoteAttachment required | boolean Indicates whether this attachment is bound to a note. |
Detail.Parent.Type | string (CommonEnumOwnerTypeEnum) Enum: "salesOrder" "salesOrderPartLineItem" "quote" "quotePartLineItem" "purchaseOrder" "purchaseOrderPartLineItem" "invoice" "workOrderOperation" "operation" "inventoryLot" "item" "job" Owner types |
Detail.Parent.Id | string [ 24 .. 36 ] characters The primary owner id of this attachment. |
object Metadata to associate to the attachment. |
Responses
Response samples
- 200
{- "id": "string"
}
Create an attachment based on a remote data endpoint.
Request Body schema:
required | object (AttachmentOwnerDto) Attachment owner |
fileName required | string [ 1 .. 200 ] characters File name |
accessUrl required | string <uri> non-empty File access url |
token | string or null Optional token that may be required for access the AccessUrl |
Responses
Request samples
- Payload
{- "owner": {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}, - "fileName": "string",
- "token": "string"
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "owner": {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}, - "name": "string",
- "description": "string",
- "type": "standard",
- "format": "undefined",
- "size": 0,
- "fileId": "string"
}
Download attachment(s) for a given filter in ZIP format
query Parameters
fileName | string |
Request Body schema:
object (AttachmentOwnerDto) Attachment owner | |
Array of objects or null (AttachmentOwnerDto) [ 1 .. 500 ] items The primary owners of the attachment. | |
attachmentIds | Array of strings or null [ 1 .. 500 ] items Filter to attachments whose ids are in the list. |
formats | Array of strings or null (CommonEnumAttachmentMediaFormatEnum) [ 1 .. 500 ] items Enum: "undefined" "cad" "document" "image" "video" Allows for filtering based on specific attachment format types. |
Responses
Request samples
- Payload
{- "owner": {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}, - "owners": [
- {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}
], - "attachmentIds": [
- "string"
], - "formats": [
- "undefined"
]
}
Find attachments based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
object (AttachmentOwnerDto) Attachment owner | |
Array of objects or null (AttachmentOwnerDto) [ 1 .. 500 ] items The primary owners of the attachment. | |
attachmentIds | Array of strings or null [ 1 .. 500 ] items Filter to attachments whose ids are in the list. |
formats | Array of strings or null (CommonEnumAttachmentMediaFormatEnum) [ 1 .. 500 ] items Enum: "undefined" "cad" "document" "image" "video" Allows for filtering based on specific attachment format types. |
Responses
Request samples
- Payload
{- "owner": {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}, - "owners": [
- {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}
], - "attachmentIds": [
- "string"
], - "formats": [
- "undefined"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "owner": {
- "type": "salesOrder",
- "id": "stringstringstringstring"
}, - "name": "string",
- "description": "string",
- "type": "standard",
- "format": "undefined",
- "size": 0,
- "fileId": "string"
}
]
Finds CAPAs based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
status | string or null Filter CAPAs by a specific status Accepted Values: Closed, Hold, New, Quality Review, Engineering Review |
type | string or null Filter CAPAs by a specific type Accepted Values: Customer Complaint, Quality, Quantity, Return, Warranty |
ncrId | string or null Filter CAPAs by a NCR Id |
createdUtc | string or null <date-time> Filter CAPAs created after a certain date |
Responses
Request samples
- Payload
{- "status": "string",
- "type": "string",
- "ncrId": "string",
- "createdUtc": "2019-08-24T14:15:22Z"
}
Response samples
- 200
{- "data": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "capaType": "string",
- "problemStatement": "string",
- "status": "string",
- "rootCauseAnalysis": "string",
- "correctiveAction": "string",
- "ncrId": "string",
- "createdUtc": "2019-08-24T14:15:22Z",
- "dueDate": "2019-08-24T14:15:22Z",
- "closedUtc": "2019-08-24T14:15:22Z"
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Find accounts based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "isPrimary": true,
- "name": "string",
- "shipToAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "remitToAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "phoneNumber": "string",
- "faxNumber": "string",
- "email": "[email protected]"
}
Find company information based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
isPrimary | boolean or null Filter on primary company info |
Responses
Request samples
- Payload
{- "isPrimary": true
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "isPrimary": true,
- "name": "string",
- "shipToAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "remitToAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "phoneNumber": "string",
- "faxNumber": "string",
- "email": "[email protected]"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "label": "string",
- "type": "text",
- "module": "item",
- "required": true,
- "options": [
- "string"
], - "prepend": "string",
- "append": "string",
- "helpText": "string"
}
Find custom fields based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter custom fields based on their name. |
ids | Array of strings or null Filter custom fields based on matching ids. |
module | string (DomainSystemDataCustomFieldDefinitionModule) Enum: "item" "item_Make" "item_Buy" "customer" "vendor" "quote" "sales_Order" "job" "invoice" "purchase_Order" "receive_Order" "ship_Order" "quote_Part_LineItem" "sales_Order_Part_LineItem" "purchase_Order_Part_LineItem" "outsideProcessing_LineItem" "shipping_Part_LineItem" "invoice_Part_LineItem" "job_Operation" "ncr" "capa" |
type | string (DomainSystemDataCustomFieldDefinitionType) Enum: "text" "multilineText" "dropdown" "multipleChoiceDropdown" "integerNumber" "decimalNumber" "floatingPointNumber" "boolean" "list" "date" "multipleChoiceUser" |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
], - "module": "item",
- "type": "text"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "label": "string",
- "type": "text",
- "module": "item",
- "required": true,
- "options": [
- "string"
], - "prepend": "string",
- "append": "string",
- "helpText": "string"
}
]
Create a new customer
Request Body schema:
name required | string [ 1 .. 200 ] characters The name to give the customer. Must be unique to all active customers. |
customerCode | string or null non-empty Unique identifier for this customer |
currencyCode | string or null non-empty Currency code/denomination associated to this customer. If not provided, default to the primary currency code for the organization. |
creditLimit | number or null <double> >= 0 Credit limit |
paymentTermsId | string or null = 24 characters Payment terms. |
salesPersonId | string or null = 24 characters Payment terms. |
url | string or null <uri> The Customer's website |
isTaxable | boolean or null Whether or not this customer is taxable on Sales Orders and Quotes |
taxRateIds | Array of strings or null A list of tax codes to be automatically added to new SalesOrders for the customer when AutoAddTaxLineItems process setting is enabled. |
object or null Arbitrary key-value-pair like data that can be used to later on search for the customer | |
notes | string or null Notes associated to the customer. |
hasCustomerPortal | boolean or null Indicates if this customer is set up to use the customer portal. |
Responses
Request samples
- Payload
{- "name": "string",
- "customerCode": "string",
- "currencyCode": "string",
- "creditLimit": 0,
- "paymentTermsId": "stringstringstringstring",
- "salesPersonId": "stringstringstringstring",
- "isTaxable": true,
- "taxRateIds": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "notes": "string",
- "hasCustomerPortal": true
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "customerCode": "string",
- "currencyCode": "string",
- "creditLimit": 0,
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "salesPersonId": "stringstringstringstring",
- "isTaxable": true,
- "taxRateIds": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "notes": "string",
- "hasCustomerPortal": true,
- "customerTierId": "stringstringstringstring",
- "customerTierName": "string"
}
Partially update a customer
path Parameters
customerId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "customerCode": "string",
- "currencyCode": "string",
- "creditLimit": 0,
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "salesPersonId": "stringstringstringstring",
- "isTaxable": true,
- "taxRateIds": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "notes": "string",
- "hasCustomerPortal": true,
- "customerTierId": "stringstringstringstring",
- "customerTierName": "string"
}
Update a specific customer
path Parameters
customerId required | string = 24 characters |
Request Body schema:
name required | string [ 1 .. 200 ] characters The name to give the customer. Must be unique to all active customers. |
customerCode | string or null non-empty Unique identifier for this customer |
currencyCode | string or null non-empty Currency code/denomination associated to this customer. If not provided, default to the primary currency code for the organization. |
url | string or null <uri> The Customer's website |
creditLimit | number or null <double> >= 0 Credit limit |
paymentTermsId | string or null = 24 characters Payment terms identifier. Please reference /api/payment-terms endpoint. |
salesPersonId | string or null = 24 characters Sales person identifier. Please reference /api/users endpoint. |
isTaxable | boolean or null Whether or not this customer is taxable on Sales Orders and Quotes |
taxRateIds | Array of strings or null A list of tax codes to be automatically added to new SalesOrders for the customer when AutoAddTaxLineItems process setting is enabled. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
notes | string or null Notes associated to the customer. |
hasCustomerPortal | boolean or null Indicates if this customer is set up to use the customer portal. |
Responses
Request samples
- Payload
{- "name": "string",
- "customerCode": "string",
- "currencyCode": "string",
- "creditLimit": 0,
- "paymentTermsId": "stringstringstringstring",
- "salesPersonId": "stringstringstringstring",
- "isTaxable": true,
- "taxRateIds": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "notes": "string",
- "hasCustomerPortal": true
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "customerCode": "string",
- "currencyCode": "string",
- "creditLimit": 0,
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "salesPersonId": "stringstringstringstring",
- "isTaxable": true,
- "taxRateIds": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "notes": "string",
- "hasCustomerPortal": true,
- "customerTierId": "stringstringstringstring",
- "customerTierName": "string"
}
Find customers based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to customers who's name contains the given string |
customerCode | string or null non-empty Unique identifier for this customer. |
string or null non-empty The email of the customer | |
modifiedAfterUtc | string or null <date-time> Filter to customer records modified after the given datetime (in UTC) |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. |
Responses
Request samples
- Payload
{- "name": "string",
- "customerCode": "string",
- "email": "string",
- "modifiedAfterUtc": "2019-08-24T14:15:22Z",
- "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "customerCode": "string",
- "currencyCode": "string",
- "creditLimit": 0,
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "salesPersonId": "stringstringstringstring",
- "isTaxable": true,
- "taxRateIds": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "notes": "string",
- "hasCustomerPortal": true,
- "customerTierId": "stringstringstringstring",
- "customerTierName": "string"
}
]
Create a new customer address
path Parameters
customerId required | string = 24 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Name of the address (Bob's Shipping, Primary, Reno Warehouse, etc). |
address1 required | string [ 1 .. 200 ] characters Primary address line. |
address2 | string or null [ 1 .. 200 ] characters Second address line. |
address3 | string or null [ 1 .. 200 ] characters Third address line. |
city required | string [ 1 .. 200 ] characters Address city |
stateProvince | string or null [ 1 .. 200 ] characters Address state/province. |
postalCode required | string [ 1 .. 200 ] characters Postal/zip code. |
country | string or null [ 1 .. 200 ] characters Country identifier. |
shippingLeadTime | integer or null <int32> >= 0 Lead time for shipping contents. |
primaryBilling | boolean Signifies if this is a primary billing address. |
primaryShipping | boolean Signifies if this is a primary billing address. |
string or null <email> Email address | |
phone | string or null Associated phone number |
fax | string or null Associated fax number |
notes | string or null General notes associated to this customer address |
Responses
Request samples
- Payload
{- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
Response samples
- 200
{- "id": "string"
}
Get a specific customer address
path Parameters
customerId required | string = 24 characters |
customerAddressId required | string = 36 characters |
Responses
Response samples
- 200
{- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "id": "stringstringstringstringstringstring",
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
Update a specific customer address
path Parameters
customerId required | string = 24 characters |
customerAddressId required | string = 36 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Name of the address (Bob's Shipping, Primary, Reno Warehouse, etc). |
address1 required | string [ 1 .. 200 ] characters Primary address line. |
address2 | string or null [ 1 .. 200 ] characters Second address line. |
address3 | string or null [ 1 .. 200 ] characters Third address line. |
city required | string [ 1 .. 200 ] characters Address city |
stateProvince | string or null [ 1 .. 200 ] characters Address state/province. |
postalCode required | string [ 1 .. 200 ] characters Postal/zip code. |
country | string or null [ 1 .. 200 ] characters Country identifier. |
shippingLeadTime | integer or null <int32> >= 0 Lead time for shipping contents. |
primaryBilling | boolean Signifies if this is a primary billing address. |
primaryShipping | boolean Signifies if this is a primary billing address. |
string or null <email> Email address | |
phone | string or null Associated phone number |
fax | string or null Associated fax number |
notes | string or null General notes associated to this customer address |
Responses
Request samples
- Payload
{- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
Get a list of addresses for a customer
path Parameters
customerId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "id": "stringstringstringstringstringstring",
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
]
Create a new customer contact
path Parameters
customerId required | string = 24 characters |
Request Body schema:
firstName required | string [ 1 .. 200 ] characters First name |
lastName | string or null [ 1 .. 200 ] characters Last name |
position | string or null [ 1 .. 200 ] characters Position / Job Title |
phone | string or null Phone number |
cellPhone | string or null Cellphone number |
string or null <email> Email address |
Responses
Request samples
- Payload
{- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "email": "[email protected]"
}
Response samples
- 200
{- "id": "string"
}
Get a specific customer contact
path Parameters
customerId required | string = 24 characters The id of the customer to modify contacts for |
contactId required | string = 36 characters The id of the customer contact. |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "cellPhone": "string",
- "phone": "string",
- "email": "[email protected]"
}
Update a specific customer contact
path Parameters
customerId required | string = 24 characters The id of the customer to modify contacts for |
contactId required | string = 36 characters The id of the customer contact. |
Request Body schema:
The new data to apply to the given index
firstName required | string [ 1 .. 200 ] characters First name |
lastName | string or null [ 1 .. 200 ] characters Last name |
position | string or null [ 1 .. 200 ] characters Position / Job Title |
phone | string or null Phone number |
cellPhone | string or null Cellphone number |
string or null <email> Email address |
Responses
Request samples
- Payload
{- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "email": "[email protected]"
}
Get a list of contacts for a customer
path Parameters
customerId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "cellPhone": "string",
- "phone": "string",
- "email": "[email protected]"
}
]
Find customer tiers based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter customer tierds based on their name. |
ids | Array of strings or null Filter customer tiers based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "deleted": true,
- "workCenters": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "departmentId": "stringstringstringstring",
- "setupRate": 0,
- "runRate": 0,
- "laborRate": 0,
- "overheadRate": 0,
- "machineRate": 0,
- "deleted": true,
- "equipment": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "workCenterId": "stringstringstringstring",
- "manufacturer": "string",
- "modelNumber": "string",
- "serialNumber": "string",
- "canRunUnattended": true,
- "unlimitedCapacity": true,
- "status": "good",
- "notes": "string",
- "deleted": true
}
]
}
]
}
Find departments based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
ids | Array of strings or null Filter departments based on matching ids. |
name | string or null [ 1 .. 200 ] characters Filter departments based on their name. |
Responses
Request samples
- Payload
{- "ids": [
- "string"
], - "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "deleted": true,
- "workCenters": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "departmentId": "stringstringstringstring",
- "setupRate": 0,
- "runRate": 0,
- "laborRate": 0,
- "overheadRate": 0,
- "machineRate": 0,
- "deleted": true,
- "equipment": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "workCenterId": "stringstringstringstring",
- "manufacturer": "string",
- "modelNumber": "string",
- "serialNumber": "string",
- "canRunUnattended": true,
- "unlimitedCapacity": true,
- "status": "good",
- "notes": "string",
- "deleted": true
}
]
}
]
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "workCenterId": "stringstringstringstring",
- "manufacturer": "string",
- "modelNumber": "string",
- "serialNumber": "string",
- "canRunUnattended": true,
- "unlimitedCapacity": true,
- "status": "good",
- "notes": "string",
- "deleted": true
}
Find equipment based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
ids | Array of strings or null Filter equipment based on matching ids. |
name | string or null [ 1 .. 200 ] characters Filter equipment based on their name. |
Responses
Request samples
- Payload
{- "ids": [
- "string"
], - "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "workCenterId": "stringstringstringstring",
- "manufacturer": "string",
- "modelNumber": "string",
- "serialNumber": "string",
- "canRunUnattended": true,
- "unlimitedCapacity": true,
- "status": "good",
- "notes": "string",
- "deleted": true
}
]
Find gauge codes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Find grade codes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Lists in process tracking field types
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter in process tracking fields based on their name. |
ids | Array of strings or null Filter in process tracking fields based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "dataType": "boolean",
- "description": "string",
- "dropDownOptions": [
- "string"
], - "unitTypeName": "string"
}
]
Find inventory based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
lotIds | Array of strings or null Filter inventory based on lot ids. |
itemIds | Array of strings or null Filter inventory based on item ids. |
locationIds | Array of strings or null Filter inventory based on location ids. |
Responses
Request samples
- Payload
{- "lotIds": [
- "string"
], - "itemIds": [
- "string"
], - "locationIds": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "lotId": "stringstringstringstring",
- "locationId": "stringstringstringstring",
- "quantity": 0,
- "onHandQuantity": 0,
- "itemId": "stringstringstringstring",
- "itemNumber": "string",
- "itemDescription": "string"
}
]
Returns on hand counts by item. Excludes reserved inventory counts by default, but can be included by passing in the ```includeReserved``` query parameter. NOTE: If the response does not contain an item identifier, it means there is no quantity on hand.
query Parameters
includeReserved | boolean Default: false Whether to included reserved inventory into the counts |
Responses
Response samples
- 200
{- "property1": 0,
- "property2": 0
}
Override an inventory's quantity.
Request Body schema:
The parameters for the request
itemId required | string = 24 characters Item identifier. |
quantity required | number <double> The quantity to set the item's inventory level to. |
lotId | string or null The lot identifier to apply this override to |
locationId | string or null The location identifier to apply this override to. |
note | string or null The note to add to the override transaction. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "quantity": 0,
- "lotId": "string",
- "locationId": "string",
- "note": "string"
}
Pick inventory against a specific item.
Request Body schema:
itemId required | string = 24 characters Item identifier. Please reference /api/items endpoint. |
secondaryType required | string (InventoryPickEventSecondaryType) Enum: "pick" "consume" "scrap" "stockAdjustmentDecrease" "otherDecrease" Secondary event type specifically for picking. |
quantity required | number <double> Quantity of the item to pick. |
locationId | string or null = 24 characters Location id that inventory is picked from. Please reference /api/locations endpoint |
lotId | string or null = 24 characters Lot identifier for this block of inventory. Please reference /api/inventory-lots endpoint |
note | string or null [ 1 .. 2000 ] characters Notes associated to this transaction. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "secondaryType": "pick",
- "quantity": 0,
- "locationId": "stringstringstringstring",
- "lotId": "stringstringstringstring",
- "note": "string"
}
Receive inventory for a specific item.
Request Body schema:
itemId required | string = 24 characters Item identifier. Please reference /api/items endpoint. |
secondaryType required | string (InventoryReceiveEventSecondaryType) Enum: "receive" "found" "stockAdjustmentIncrease" "otherIncrease" Secondary event type specifically for receiving. |
quantity required | number <double> Quantity of the item to receive. |
locationId | string or null = 24 characters Location id that inventory is received into. Please reference /api/locations endpoint |
lotId | string or null = 24 characters Lot identifier for this block of inventory. Please reference /api/inventory-lots endpoint |
note | string or null [ 1 .. 2000 ] characters Notes associated to this transaction. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "secondaryType": "receive",
- "quantity": 0,
- "locationId": "stringstringstringstring",
- "lotId": "stringstringstringstring",
- "note": "string"
}
Create a new inventory lot.
Request Body schema:
name | string or null [ 1 .. 200 ] characters The name of the lot. It is not guaranteed to be unique inventory-wide, but only within an item. |
itemId required | string = 24 characters The item id that is associated to this lot. Please reference /api/items endpoint. |
expirationDate | string or null <date-time> The date that this lot is supposed to expire. |
Responses
Request samples
- Payload
{- "name": "string",
- "itemId": "stringstringstringstring",
- "expirationDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
{- "id": "string"
}
Find inventory lots based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter lots based on their name. |
itemIds | Array of strings or null Item ids to match. Please reference /api/items endpoint. |
system | boolean or null Filter by whether the lot is considered a system-generated lot. |
Responses
Request samples
- Payload
{- "name": "string",
- "itemIds": [
- "string"
], - "system": true
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "itemId": "stringstringstringstring",
- "quantity": 0,
- "system": true,
- "custom": true,
- "expirationDate": "2019-08-24T14:15:22Z"
}
]
Finds inventory transactions based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
itemIds | Array of strings or null Filter inventory transactions based on item identifiers. |
object (DtoCommonDateRangeFilter) Date range used for filters | |
sourceType | string (V2InventoryDataEventSourceType) Enum: "purchaseOrder" "job" "shipment" "shipmentLineItem" "shipping" "receiving" "item" "workOrder" "salesOrder" "jobOperation" "workOrderOperation" "fulfillment" "itemToMakeMaterialRemnant" "purchaseOrderReceivingValueAdjustment" |
relatedEntityType | string (V2InventoryDataEventSourceType) Enum: "purchaseOrder" "job" "shipment" "shipmentLineItem" "shipping" "receiving" "item" "workOrder" "salesOrder" "jobOperation" "workOrderOperation" "fulfillment" "itemToMakeMaterialRemnant" "purchaseOrderReceivingValueAdjustment" |
relatedEntityId | string or null The transaction's related entity identifier |
Responses
Request samples
- Payload
{- "itemIds": [
- "string"
], - "dateRange": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "sourceType": "purchaseOrder",
- "relatedEntityType": "purchaseOrder",
- "relatedEntityId": "string"
}
Response samples
- 200
{- "data": [
- {
- "id": "string",
- "date": "2019-08-24T14:15:22Z",
- "type": "pick",
- "secondaryType": "pick",
- "item": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "location": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "lot": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "quantity": 0,
- "valueChange": 0,
- "qtyChange": 0,
- "note": "string",
- "value": 0,
- "totalValue": 0
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "status": "new",
- "customerId": "stringstringstringstring",
- "currencyInfo": {
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string"
}, - "issueDate": "2019-08-24T14:15:22Z",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "companyInfoId": "stringstringstringstring",
- "salesOrderId": "stringstringstringstring",
- "customerPONumber": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "total": 0,
- "subtotal": 0,
- "lineItemsTotal": 0,
- "notesToCustomer": "string",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isDeposit": true,
- "deleted": true
}
Partially update an invoice
path Parameters
invoiceId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "status": "new",
- "customerId": "stringstringstringstring",
- "currencyInfo": {
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string"
}, - "issueDate": "2019-08-24T14:15:22Z",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "companyInfoId": "stringstringstringstring",
- "salesOrderId": "stringstringstringstring",
- "customerPONumber": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "total": 0,
- "subtotal": 0,
- "lineItemsTotal": 0,
- "notesToCustomer": "string",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isDeposit": true,
- "deleted": true
}
Update an invoice
path Parameters
invoiceId required | string = 24 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "status": "new",
- "customerId": "stringstringstringstring",
- "currencyInfo": {
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string"
}, - "issueDate": "2019-08-24T14:15:22Z",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "companyInfoId": "stringstringstringstring",
- "salesOrderId": "stringstringstringstring",
- "customerPONumber": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "total": 0,
- "subtotal": 0,
- "lineItemsTotal": 0,
- "notesToCustomer": "string",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isDeposit": true,
- "deleted": true
}
Find invoices based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
numbers | Array of integers or null <int32> [ 1 .. 500 ] items Filter invoices to only given numbers |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. | |
status | string (InvoiceStatusEnum) Enum: "new" "needsApproval" "approved" "issued" "paid" Invoice status |
Responses
Request samples
- Payload
{- "numbers": [
- 0
], - "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}, - "status": "new"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": 0,
- "status": "new",
- "customerId": "stringstringstringstring",
- "currencyInfo": {
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string"
}, - "issueDate": "2019-08-24T14:15:22Z",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "companyInfoId": "stringstringstringstring",
- "salesOrderId": "stringstringstringstring",
- "customerPONumber": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "total": 0,
- "subtotal": 0,
- "lineItemsTotal": 0,
- "notesToCustomer": "string",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isDeposit": true,
- "deleted": true
}
]
Update an invoice status
path Parameters
invoiceId required | string = 24 characters |
Request Body schema:
status required | string (InvoiceStatusEnum) Enum: "new" "needsApproval" "approved" "issued" "paid" Invoice status |
paidDate | string or null <date-time> The date that the invoice was paid. |
Responses
Request samples
- Payload
{- "status": "new",
- "paidDate": "2019-08-24T14:15:22Z"
}
Get a specific deposit adjustment line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of deposit adjustment lines items for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific deposit line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of deposit lines items for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get the discount line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a specific fee line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific fee line item for a purchase order
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific fee line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of fee lines items for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific line item for an invoice of generic type
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "type": "part",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "subtotal": 0,
- "discountedSubtotal": 0,
- "name": "string",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "taxCodeId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of lines items for an invoice, regardless of type
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "type": "part",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "subtotal": 0,
- "discountedSubtotal": 0,
- "name": "string",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "taxCodeId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific part line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "overrideTaxRate": true,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "shipmentIds": [
- "string"
], - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific part line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "overrideTaxRate": true,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "shipmentIds": [
- "string"
], - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific part line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "overrideTaxRate": true,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "shipmentIds": [
- "string"
], - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of part lines items for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "overrideTaxRate": true,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "shipmentIds": [
- "string"
], - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific refund line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "itemId": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific refund line item for a purchase order
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "itemId": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific refund line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "itemId": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of refund lines items for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "itemId": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get the shipping charge line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "amount": 0,
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a specific tax line item for an invoice
path Parameters
invoiceId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "taxCodeEditable": true,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of tax lines items for an invoice
path Parameters
invoiceId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "taxCodeEditable": true,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Partially update an item
path Parameters
itemId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": "string",
- "description": "string",
- "itemOrigin": "make",
- "unitTypeName": "string",
- "unitOfMeasureName": "string",
- "revision": {
- "isLatestRevision": true,
- "revision": "string"
}, - "barCodeNumber": "string",
- "isSellable": true,
- "isArchived": true,
- "isNonInventory": true,
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "categoryId": "string",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "materialWeight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "tags": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
], - "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true,
- "multiplier": 0
}
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "shipping": {
- "class": "string",
- "nmfc": "string",
- "isHazmat": true,
- "unitWeight": 0,
- "tariffCode": "string",
- "countryOfOrigin": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z",
- "modifiedUtc": "2019-08-24T14:15:22Z",
- "customerTiers": [
- {
- "customerTier": {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string"
}, - "priceBreaks": [
- {
- "quantity": 0,
- "price": 0,
- "margin": 0,
- "currencyCode": "string",
- "vendorId": "stringstringstringstring",
- "customerId": "stringstringstringstring",
- "customerTierId": "stringstringstringstring"
}
]
}
], - "materialDetails": {
- "materialWidth": 0,
- "materialLength": 0,
- "materialThickness": 0,
- "form": "sheet",
- "unit": "inch",
- "materialId": "string",
- "materialName": "string"
}, - "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "materialVendorDetails": [
- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
]
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": "string",
- "description": "string",
- "itemOrigin": "make",
- "unitTypeName": "string",
- "unitOfMeasureName": "string",
- "revision": {
- "isLatestRevision": true,
- "revision": "string"
}, - "barCodeNumber": "string",
- "isSellable": true,
- "isArchived": true,
- "isNonInventory": true,
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "categoryId": "string",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "materialWeight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "tags": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
], - "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true,
- "multiplier": 0
}
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "shipping": {
- "class": "string",
- "nmfc": "string",
- "isHazmat": true,
- "unitWeight": 0,
- "tariffCode": "string",
- "countryOfOrigin": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z",
- "modifiedUtc": "2019-08-24T14:15:22Z",
- "customerTiers": [
- {
- "customerTier": {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string"
}, - "priceBreaks": [
- {
- "quantity": 0,
- "price": 0,
- "margin": 0,
- "currencyCode": "string",
- "vendorId": "stringstringstringstring",
- "customerId": "stringstringstringstring",
- "customerTierId": "stringstringstringstring"
}
]
}
], - "materialDetails": {
- "materialWidth": 0,
- "materialLength": 0,
- "materialThickness": 0,
- "form": "sheet",
- "unit": "inch",
- "materialId": "string",
- "materialName": "string"
}, - "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "materialVendorDetails": [
- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
]
}
Update a specific item
path Parameters
itemId required | string = 24 characters |
Request Body schema:
description | string or null [ 1 .. 2000 ] characters Item description. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
accountingCode2Id | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
materialCodeId | string or null = 24 characters Item material code key identifier. Please reference /api/material-codes endpoint. |
gradeId | string or null = 24 characters Item grade code key identifier. Please reference /api/grade-codes endpoint. |
shapeId | string or null = 24 characters Item shape code key identifier. Please reference /api/shape-codes endpoint. |
gaugeId | string or null = 24 characters Item gauge code key identifier. Please reference /api/gauge-codes endpoint. |
width | number or null <double> >= 0 Item width |
height | number or null <double> >= 0 Item height |
length | number or null <double> >= 0 Item length |
weight | number or null <double> >= 0 Item weight |
minimumStockOnHand | number or null <double> >= 0 Item minimum stock on hand. |
minimumProductionQuantity | number or null <double> >= 0 Item minimum production quantity for a manufacturing run. |
internalNotes | string or null [ 1 .. 2000 ] characters Internal item notes. |
Array of objects or null (CommonUnitOfMeasureConversionDto) Unit of measure conversions for sellable items. | |
isTaxable | boolean or null Whether or not this item is taxable (default) |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true
}
], - "isTaxable": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": "string",
- "description": "string",
- "itemOrigin": "make",
- "unitTypeName": "string",
- "unitOfMeasureName": "string",
- "revision": {
- "isLatestRevision": true,
- "revision": "string"
}, - "barCodeNumber": "string",
- "isSellable": true,
- "isArchived": true,
- "isNonInventory": true,
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "categoryId": "string",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "materialWeight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "tags": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
], - "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true,
- "multiplier": 0
}
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "shipping": {
- "class": "string",
- "nmfc": "string",
- "isHazmat": true,
- "unitWeight": 0,
- "tariffCode": "string",
- "countryOfOrigin": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z",
- "modifiedUtc": "2019-08-24T14:15:22Z",
- "customerTiers": [
- {
- "customerTier": {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string"
}, - "priceBreaks": [
- {
- "quantity": 0,
- "price": 0,
- "margin": 0,
- "currencyCode": "string",
- "vendorId": "stringstringstringstring",
- "customerId": "stringstringstringstring",
- "customerTierId": "stringstringstringstring"
}
]
}
], - "materialDetails": {
- "materialWidth": 0,
- "materialLength": 0,
- "materialThickness": 0,
- "form": "sheet",
- "unit": "inch",
- "materialId": "string",
- "materialName": "string"
}, - "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "materialVendorDetails": [
- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
]
}
Add a revision to an item
path Parameters
itemId required | string = 24 characters |
Request Body schema:
revision required | string [ 1 .. 200 ] characters The revision to be created. |
archiveSourceItem | boolean or null Indicate whether we should archive the source item. This will default to false. |
Responses
Request samples
- Payload
{- "revision": "string",
- "archiveSourceItem": true
}
Response samples
- 200
{- "id": "string"
}
Create a new item
Request Body schema:
number required | string [ 1 .. 200 ] characters The name to give the item. Must be unique to all active items. |
description | string [ 1 .. 2000 ] characters The verbose description to give the item. |
revision | string or null [ 1 .. 200 ] characters Revision name |
itemOrigin required | string (DomainItemsAndInventoryItemOrigin) Enum: "make" "buy" "makeOrBuy" "customerSupplied" "kit" "none" |
unitTypeName required | string non-empty The unit of measure type, ex: Pieces, Volume, Weight, Area |
unitOfMeasureName required | string non-empty The unit of measure name. Options available depend on the selected UnitTypeName. For Pieces, you might have a UOM of Piece, Set or Case. For Volume options include Liter, Milliliter, etc. |
isSellable | boolean Define if this item is able to be sold/sellable. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
accountingCode2Id | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
materialCodeId | string or null = 24 characters Item material code key identifier. Please reference /api/material-codes endpoint. |
gradeId | string or null = 24 characters Item grade code key identifier. Please reference /api/grade-codes endpoint. |
shapeId | string or null = 24 characters Item shape code key identifier. Please reference /api/shape-codes endpoint. |
gaugeId | string or null = 24 characters Item gauge code key identifier. Please reference /api/gauge-codes endpoint. |
width | number or null <double> >= 0 Item width |
height | number or null <double> >= 0 Item height |
length | number or null <double> >= 0 Item length |
weight | number or null <double> >= 0 Item weight |
minimumStockOnHand | number or null <double> >= 0 Item minimum stock on hand. |
minimumProductionQuantity | number or null <double> >= 0 Item minimum production quantity for a manufacturing run. |
internalNotes | string or null [ 1 .. 2000 ] characters Internal item notes. |
Array of objects or null (CommonUnitOfMeasureConversionDto) Unit of measure conversions for sellable items. | |
isTaxable | boolean or null Whether or not this item is taxable (default) |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "number": "string",
- "description": "string",
- "revision": "string",
- "itemOrigin": "make",
- "unitTypeName": "string",
- "unitOfMeasureName": "string",
- "isSellable": true,
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true
}
], - "isTaxable": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
TO BE REMOVED 11/02/2023 - Find items based on search parameters. Deprecated
Use V2 which includes a list of number filters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
revision | string or null [ 1 .. 200 ] characters Filter to items who's revision matches the given string |
object (CommonCustomFieldSearchDto) Custom field associated to an entity. | |
latestRevision | boolean Indicate whether we want the latest revision(s) of the items. |
itemIds | Array of strings or null Filter to items whose ids are in the list |
descriptionFilter | string or null Filter items by description. Use (escaped) double-quotes to filter by exact phrase, e.g., \"search phrase\". Prepend search term with "-" to exclude |
isArchived | boolean or null Include or exclude archived items |
Responses
Request samples
- Payload
{- "number": "string",
- "revision": "string",
- "customField": {
- "key": "string",
- "value": "string"
}, - "latestRevision": true,
- "itemIds": [
- "string"
], - "descriptionFilter": "string",
- "isArchived": true
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": "string",
- "description": "string",
- "itemOrigin": "make",
- "unitTypeName": "string",
- "unitOfMeasureName": "string",
- "revision": {
- "isLatestRevision": true,
- "revision": "string"
}, - "barCodeNumber": "string",
- "isSellable": true,
- "isArchived": true,
- "isNonInventory": true,
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "categoryId": "string",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "materialWeight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "tags": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
], - "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true,
- "multiplier": 0
}
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "shipping": {
- "class": "string",
- "nmfc": "string",
- "isHazmat": true,
- "unitWeight": 0,
- "tariffCode": "string",
- "countryOfOrigin": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z",
- "modifiedUtc": "2019-08-24T14:15:22Z",
- "customerTiers": [
- {
- "customerTier": {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string"
}, - "priceBreaks": [
- {
- "quantity": 0,
- "price": 0,
- "margin": 0,
- "currencyCode": "string",
- "vendorId": "stringstringstringstring",
- "customerId": "stringstringstringstring",
- "customerTierId": "stringstringstringstring"
}
]
}
], - "materialDetails": {
- "materialWidth": 0,
- "materialLength": 0,
- "materialThickness": 0,
- "form": "sheet",
- "unit": "inch",
- "materialId": "string",
- "materialName": "string"
}, - "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "materialVendorDetails": [
- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
]
}
]
Find items based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
Array of objects or null (ItemNumberFilter) <= 50 items Filter items based on numbers | |
object (CommonCustomFieldSearchDto) Custom field associated to an entity. | |
Array of objects or null (CommonCustomFieldSearchDto) <= 50 items Filter items based on custom fields Note: these will be OR'd with each other and are not additive in filtering. | |
latestRevision | boolean Indicate whether we want the latest revision(s) of the items. |
itemIds | Array of strings or null <= 50 items Filter to items whose ids are in the list |
descriptionFilter | string or null Filter items by description. Use (escaped) double-quotes to filter by exact phrase, e.g., \"search phrase\". Prepend search term with "-" to exclude |
isArchived | boolean or null Include or exclude archived items |
includeUsageData | boolean If set to true, data on where the item is being used will be included in the results |
includeVendorData | boolean If set to true, vendor details about the item will be included in the results |
includeCustomerTierData | boolean If set to true, customer tier details about the item will be included in the results |
vendorId | string or null If provided, filter to items that are produced by this vendor. |
Responses
Request samples
- Payload
{- "numbers": [
- {
- "query": "string",
- "mode": "equal",
- "casingOption": "caseSensitive",
- "revision": "string"
}
], - "customField": {
- "key": "string",
- "value": "string"
}, - "customFields": [
- {
- "key": "string",
- "value": "string"
}
], - "latestRevision": true,
- "itemIds": [
- "string"
], - "descriptionFilter": "string",
- "isArchived": true,
- "includeUsageData": true,
- "includeVendorData": true,
- "includeCustomerTierData": true,
- "vendorId": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": "string",
- "description": "string",
- "itemOrigin": "make",
- "unitTypeName": "string",
- "unitOfMeasureName": "string",
- "revision": {
- "isLatestRevision": true,
- "revision": "string"
}, - "barCodeNumber": "string",
- "isSellable": true,
- "isArchived": true,
- "isNonInventory": true,
- "accountingCodeId": "stringstringstringstring",
- "accountingCode2Id": "stringstringstringstring",
- "materialCodeId": "stringstringstringstring",
- "gradeId": "stringstringstringstring",
- "shapeId": "stringstringstringstring",
- "gaugeId": "stringstringstringstring",
- "categoryId": "string",
- "width": 0,
- "height": 0,
- "length": 0,
- "weight": 0,
- "materialWeight": 0,
- "minimumStockOnHand": 0,
- "minimumProductionQuantity": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "tags": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
], - "internalNotes": "string",
- "salesUnitOfMeasureConversions": [
- {
- "sourceQuantity": 0,
- "destinationQuantity": 0,
- "destinationUnitOfMeasureName": "string",
- "isCustom": true,
- "isDefault": true,
- "multiplier": 0
}
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isTaxable": true,
- "shipping": {
- "class": "string",
- "nmfc": "string",
- "isHazmat": true,
- "unitWeight": 0,
- "tariffCode": "string",
- "countryOfOrigin": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z",
- "modifiedUtc": "2019-08-24T14:15:22Z",
- "customerTiers": [
- {
- "customerTier": {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string"
}, - "priceBreaks": [
- {
- "quantity": 0,
- "price": 0,
- "margin": 0,
- "currencyCode": "string",
- "vendorId": "stringstringstringstring",
- "customerId": "stringstringstringstring",
- "customerTierId": "stringstringstringstring"
}
]
}
], - "materialDetails": {
- "materialWidth": 0,
- "materialLength": 0,
- "materialThickness": 0,
- "form": "sheet",
- "unit": "inch",
- "materialId": "string",
- "materialName": "string"
}, - "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "materialVendorDetails": [
- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
], - "usedByItems": [
- {
- "id": "stringstringstringstring",
- "name": "string"
}
], - "vendorDetails": [
- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "price": 0,
- "isPrimary": true,
- "leadTimeInDays": 0,
- "unitOfMeasureName": "string",
- "unitQuantity": 0,
- "inventoryUnitQuantity": 0
}
]
}
]
TO BE REMOVED 10/13/2023 - Pick inventory against a specific item. Deprecated
Use /inventory/pick API instead
path Parameters
itemId required | string = 24 characters |
Request Body schema:
secondaryType required | string (InventoryEventSecondaryType) Enum: "pick" "receive" "override" "revert" "deposit" "create" "consume" "ship" "sold" "transferOut" "transferIn" "found" "expired" "damaged" "lost" "returnVendor" "returnStock" "receivedNoPo" "returnIncrease" "returnDecrease" "otherIncrease" "otherDecrease" "scrap" "waste" "transferredFromSalesOrder" "overrideItemValue" "transferFromLot" "transferToLot" "stockAdjustmentIncrease" "stockAdjustmentDecrease" "stockTake" Secondary, verbose description for an event. |
lotId | string or null = 24 characters Lot identifier for this block of inventory. |
locationId | string or null = 24 characters Location id that inventory is placed into. |
quantity | number or null <double> >= 0 Location id that inventory is placed into. |
actionDate | string or null <date-time> The moment in time where this inventory event action occurs. If not provided, this will default to the current date/time. |
source | string (InventoryEnumEventSourceType) Enum: "purchaseOrder" "job" "shipment" "shipping" "receiving" "item" "workOrder" "salesOrder" "jobOperation" "workOrderOperation" Indicator for the initial source of the event. |
url | string or null <uri> The source url of the event. |
relatedSource | string (InventoryEnumEventSourceType) Enum: "purchaseOrder" "job" "shipment" "shipping" "receiving" "item" "workOrder" "salesOrder" "jobOperation" "workOrderOperation" Indicator for the initial source of the event. |
relatedEntityId | string or null Entity id for tying this event back to a related entity. |
note | string or null Notes associated to this transaction. |
Responses
Request samples
- Payload
{- "secondaryType": "pick",
- "lotId": "stringstringstringstring",
- "locationId": "stringstringstringstring",
- "quantity": 0,
- "actionDate": "2019-08-24T14:15:22Z",
- "source": "purchaseOrder",
- "relatedSource": "purchaseOrder",
- "relatedEntityId": "string",
- "note": "string"
}
TO BE REMOVED 10/13/2023 - Receive inventory against a specific item. Deprecated
Use /inventory/receive API instead
path Parameters
itemId required | string = 24 characters |
Request Body schema:
secondaryType required | string (InventoryEventSecondaryType) Enum: "pick" "receive" "override" "revert" "deposit" "create" "consume" "ship" "sold" "transferOut" "transferIn" "found" "expired" "damaged" "lost" "returnVendor" "returnStock" "receivedNoPo" "returnIncrease" "returnDecrease" "otherIncrease" "otherDecrease" "scrap" "waste" "transferredFromSalesOrder" "overrideItemValue" "transferFromLot" "transferToLot" "stockAdjustmentIncrease" "stockAdjustmentDecrease" "stockTake" Secondary, verbose description for an event. |
lotId | string or null = 24 characters Lot identifier for this block of inventory. |
locationId | string or null = 24 characters Location id that inventory is placed into. |
quantity | number or null <double> >= 0 Location id that inventory is placed into. |
actionDate | string or null <date-time> The moment in time where this inventory event action occurs. If not provided, this will default to the current date/time. |
source | string (InventoryEnumEventSourceType) Enum: "purchaseOrder" "job" "shipment" "shipping" "receiving" "item" "workOrder" "salesOrder" "jobOperation" "workOrderOperation" Indicator for the initial source of the event. |
url | string or null <uri> The source url of the event. |
relatedSource | string (InventoryEnumEventSourceType) Enum: "purchaseOrder" "job" "shipment" "shipping" "receiving" "item" "workOrder" "salesOrder" "jobOperation" "workOrderOperation" Indicator for the initial source of the event. |
relatedEntityId | string or null Entity id for tying this event back to a related entity. |
note | string or null Notes associated to this transaction. |
Responses
Request samples
- Payload
{- "secondaryType": "pick",
- "lotId": "stringstringstringstring",
- "locationId": "stringstringstringstring",
- "quantity": 0,
- "actionDate": "2019-08-24T14:15:22Z",
- "source": "purchaseOrder",
- "relatedSource": "purchaseOrder",
- "relatedEntityId": "string",
- "note": "string"
}
Update (selectively) custom fields on an item.
path Parameters
itemId required | string = 24 characters The Item identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on an item.
path Parameters
itemId required | string = 24 characters The Item identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Get a list of vendors for a material-based item
path Parameters
itemId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
]
Create a new item vendor
path Parameters
itemId required | string = 24 characters |
Request Body schema:
vendorId required | string = 24 characters Vendor id associated to this entity. Please reference /api/vendors endpoint. |
vendorItemNumber | string or null [ 1 .. 200 ] characters The item number for this vendor. |
vendorItemName | string or null [ 1 .. 200 ] characters The item name for this vendor. |
notes | string or null [ 1 .. 2000 ] characters Notes to the vendor. |
Responses
Request samples
- Payload
{- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
Response samples
- 200
{- "id": "string"
}
Update a specific item material vendor
path Parameters
itemId required | string = 24 characters The id of the item to modify vendors for |
materialVendorId required | string [ 24 .. 36 ] characters The id of the material-item vendor. |
Request Body schema:
The new data to apply to the given vendor detail
vendorItemNumber | string or null [ 1 .. 200 ] characters The item number for this vendor. |
vendorItemName | string or null [ 1 .. 200 ] characters The item name for this vendor. |
notes | string or null [ 1 .. 2000 ] characters Notes to the vendor. |
Responses
Request samples
- Payload
{- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "notes": "string"
}
Adds an input item to an item's routing
path Parameters
itemId required | string = 24 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Response samples
- 200
{- "id": "string"
}
Add multiple input items to an item's routing
path Parameters
itemId required | string = 24 characters |
Request Body schema:
required | Array of objects (ItemRoutingInputItemCreateDto) The input items to add to an item. | ||||||
Array
|
Responses
Request samples
- Payload
{- "lineItems": [
- {
- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
}
Response samples
- 200
{- "ids": [
- "string"
]
}
Get a specific item routing input item
path Parameters
itemId required | string = 24 characters |
inputItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Update an input item for a specific item's routing
path Parameters
itemId required | string = 24 characters |
inputItemId required | string = 36 characters |
Request Body schema:
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemUpdateDto.ValueType |
valueType | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "valueTypeUnits": 0,
- "valueType": "creates"
}
Lists the input items for an item's routing
path Parameters
itemId required | string = 24 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
Adds an input material to an item's routing
path Parameters
itemId required | string |
Request Body schema:
materialId required | string non-empty The material id to be added. Please reference /api/materials endpoint. |
costing required | string (CommonEnumMaterialRequirementCostingEnum) Enum: "fullCost" "usageBased" Specifies the costing of the material. |
Array of objects or null (ItemRoutingInputMaterialNestingCreateDto) Nestings associated to this material indicating bounding box dimensions and production quantities. | |
routingStepId | string or null = 36 characters The routing step id. This value should be the Id from the response from items/{itemId}/routing/operations/list |
Responses
Request samples
- Payload
{- "materialId": "string",
- "costing": "fullCost",
- "nestings": [
- {
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
Response samples
- 200
{- "id": "string"
}
Lists the input materials for an item's routing
path Parameters
itemId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "materialId": "string",
- "materialName": "string",
- "materialShape": {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}, - "costing": "fullCost",
- "nestings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
]
Adds an input material nesting to an item's routing material
path Parameters
itemId required | string |
materialId required | string <uuid> |
Request Body schema:
d2 required | number <double> Length |
d3 required | number <double> For Sheets, the Width |
produces required | integer <int32> The quantity produced, given the bounding box dimensions (D2 x D3). |
useForEstimatedCosting | boolean Indicates if this nesting record will be used for estimated costing. NOTE: Only one nesting record for a material can have this value set to true. |
Responses
Request samples
- Payload
{- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
Response samples
- 200
{- "id": "string"
}
Update an input material on an item's routing
path Parameters
itemId required | string |
inputMaterialId required | string <uuid> |
Request Body schema:
costing required | string (CommonEnumMaterialRequirementCostingEnum) Enum: "fullCost" "usageBased" Specifies the costing of the material. |
routingStepId | string or null = 36 characters The routing step id. This value should be the Id from the response from items/{itemId}/routing/operations/list |
Responses
Request samples
- Payload
{- "costing": "fullCost",
- "routingStepId": "stringstringstringstringstringstring"
}
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "materialId": "string",
- "materialName": "string",
- "materialShape": {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}, - "costing": "fullCost",
- "nestings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
Bulk reorganize routing operations for a specific item.
path Parameters
itemId required | string = 24 characters |
Request Body schema:
systemOperationId required | string = 24 characters System Operation Id |
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
instructions | string or null [ 1 .. 2000 ] characters Operation instructions. Will default to the instructions defined on the operation when not provided. |
inputMaterialIds | Array of strings or null The ids on the input material to associate to this operation. This value should be the Id from the response from items/{itemId}/routing/input-materials/list |
Responses
Request samples
- Payload
[- {
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "instructions": "string",
- "inputMaterialIds": [
- "string"
]
}
]
Response samples
- 200
{- "ids": [
- "string"
]
}
Create a routing operation for a specific item
path Parameters
itemId required | string = 24 characters |
Request Body schema:
systemOperationId required | string = 24 characters System Operation Id |
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
instructions | string or null [ 1 .. 2000 ] characters Operation instructions. Will default to the instructions defined on the operation when not provided. |
inputMaterialIds | Array of strings or null The ids on the input material to associate to this operation. This value should be the Id from the response from items/{itemId}/routing/input-materials/list |
Responses
Request samples
- Payload
{- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "instructions": "string",
- "inputMaterialIds": [
- "string"
]
}
Response samples
- 200
{- "id": "string"
}
Get a specific item routing operation
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
Update a routing operation for a specific item
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
Request Body schema:
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
Responses
Request samples
- Payload
{- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true
}
Adds an operation item to an item's routing
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Response samples
- 200
{- "id": "string"
}
Get a specific item routing operation item
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
operationItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Update an operation item for a specific item's routing
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
operationItemId required | string = 36 characters |
Request Body schema:
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemUpdateDto.ValueType |
valueType | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "valueTypeUnits": 0,
- "valueType": "creates"
}
Lists the operation items for an item's routing
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
Lists the operations for an item's routing
path Parameters
itemId required | string = 24 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to operations who's name contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
]
Lists the operation materials for an item's routing
path Parameters
itemId required | string = 24 characters |
operationId required | string = 36 characters |
Responses
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "materialId": "string",
- "materialName": "string",
- "materialShape": {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}, - "costing": "fullCost",
- "nestings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
]
Create a new item vendor
path Parameters
itemId required | string = 24 characters |
Request Body schema:
vendorId required | string = 24 characters Vendor id associated to this entity. Please reference /api/vendors endpoint. |
vendorItemNumber | string or null [ 1 .. 200 ] characters The item number for this vendor. |
vendorItemName | string or null [ 1 .. 200 ] characters The item name for this vendor. |
price | number or null <double> >= 0 The price of this item for this vendor. |
isPrimary | boolean Signifies if this is the primary vendor for this item. |
leadTimeInDays | integer or null <int32> Lead time for this vendor. |
Responses
Request samples
- Payload
{- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "price": 0,
- "isPrimary": true,
- "leadTimeInDays": 0
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "vendorId": "stringstringstringstring",
- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "price": 0,
- "isPrimary": true,
- "leadTimeInDays": 0,
- "unitOfMeasureName": "string",
- "unitQuantity": 0,
- "inventoryUnitQuantity": 0
}
]
Update a specific item vendor
path Parameters
itemId required | string = 24 characters The id of the item to modify vendors for |
itemVendorId required | string = 36 characters The id of the item vendor. |
Request Body schema:
The new data to apply to the given vendor detail
vendorItemNumber | string or null [ 1 .. 200 ] characters The item number for this vendor. |
vendorItemName | string or null [ 1 .. 200 ] characters The item name for this vendor. |
price | number or null <double> >= 0 The price of this item for this vendor. |
isPrimary | boolean Signifies if this is the primary vendor for this item. |
leadTimeInDays | integer or null <int32> Lead time for this vendor. |
Responses
Request samples
- Payload
{- "vendorItemNumber": "string",
- "vendorItemName": "string",
- "price": 0,
- "isPrimary": true,
- "leadTimeInDays": 0
}
Find item categories based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Find item classes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Find item tags based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
The search parameters
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
{- "data": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Create a new job
Request Body schema:
nameOfJob | string or null Name of the job to create. If omitted, the default naming convention will be used |
customerId | string or null = 24 characters The id of the customer to be created |
autoSchedule | boolean or null Auto Schedule job. Defaults to FALSE if omitted. |
note | string or null [ 1 .. 2000 ] characters Note to customer. This will appear on PDFs. |
priority | string (JobPriorityEnum) Enum: "low" "moderate" "high" Job priority |
productionDueDate | string or null <date-time> The date that the production of items on the job needs to be completed by. |
quantityToMake required | number <double> Quantity to make |
salesOrderId | string or null = 24 characters Sales Order Id the job is created for. If used, ItemToMakeId will be ignored. |
salesOrderLineItemId | string or null = 36 characters Sales Order Line Item Id the job is created for. If used, ItemToMakeId will be ignored. |
salesOrderLineItemNameOverride | string or null Sales Order Line Item - Name Override |
itemToMakeId | string or null = 24 characters Id of the item to make. If SalesOrderId/SalesOrderLineItemId is set then ItemToMakeId will be ignored |
Responses
Request samples
- Payload
{- "nameOfJob": "string",
- "customerId": "stringstringstringstring",
- "autoSchedule": true,
- "note": "string",
- "priority": "low",
- "productionDueDate": "2019-08-24T14:15:22Z",
- "quantityToMake": 0,
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "salesOrderLineItemNameOverride": "string",
- "itemToMakeId": "stringstringstringstring"
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "parentItemId": "stringstringstringstring",
- "quantityToMake": 0,
- "productionDueDate": "2019-08-24T14:15:22Z",
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "workOrderIds": [
- "string"
], - "workOrders": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string"
}
], - "status": "draft",
- "priority": "low",
- "customFields": {
- "property1": null,
- "property2": null
}
}
Partially update a job
path Parameters
jobId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "parentItemId": "stringstringstringstring",
- "quantityToMake": 0,
- "productionDueDate": "2019-08-24T14:15:22Z",
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "workOrderIds": [
- "string"
], - "workOrders": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string"
}
], - "status": "draft",
- "priority": "low",
- "customFields": {
- "property1": null,
- "property2": null
}
}
Update an job
path Parameters
jobId required | string = 24 characters |
Request Body schema:
name | string or null The name of the job |
priority | string (JobPriorityEnum) Enum: "low" "moderate" "high" Job priority |
quantityToMake | number or null <double> The quantity the job should make |
productionDueDate | string or null <date-time> The production due date |
notes | string or null The internal notes |
Responses
Request samples
- Payload
{- "name": "string",
- "priority": "low",
- "quantityToMake": 0,
- "productionDueDate": "2019-08-24T14:15:22Z",
- "notes": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "parentItemId": "stringstringstringstring",
- "quantityToMake": 0,
- "productionDueDate": "2019-08-24T14:15:22Z",
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "workOrderIds": [
- "string"
], - "workOrders": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string"
}
], - "status": "draft",
- "priority": "low",
- "customFields": {
- "property1": null,
- "property2": null
}
}
Get a specific job's tracking information
path Parameters
jobId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "parentItemId": "stringstringstringstring",
- "quantityToMake": 0,
- "productionDueDate": "2019-08-24T14:15:22Z",
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "workOrderIds": [
- "string"
], - "workOrders": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string"
}
], - "status": "draft",
- "priority": "low",
- "customFields": {
- "property1": null,
- "property2": null
}, - "previousOperations": [
- {
- "itemToMake": {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0,
- "itemReference": {
- "id": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "name": "string",
- "description": "string"
}
}, - "operation": {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
}
], - "currentOperations": [
- {
- "itemToMake": {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0,
- "itemReference": {
- "id": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "name": "string",
- "description": "string"
}
}, - "operation": {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
}
], - "nextOperations": [
- {
- "itemToMake": {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0,
- "itemReference": {
- "id": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "name": "string",
- "description": "string"
}
}, - "operation": {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
}
], - "pendingOperations": [
- {
- "itemToMake": {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0,
- "itemReference": {
- "id": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "name": "string",
- "description": "string"
}
}, - "operation": {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
}
], - "cancelledOperations": [
- {
- "itemToMake": {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0,
- "itemReference": {
- "id": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "name": "string",
- "description": "string"
}
}, - "operation": {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
}
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedRunTimeInSeconds": 0,
- "estimatedLaborTimeInSeconds": 0,
- "estimatedMachineTimeInSeconds": 0,
- "elapsedSetupTimeInSeconds": 0,
- "elapsedRunTimeInSeconds": 0,
- "elapsedLaborTimeInSeconds": 0,
- "elapsedMachineTimeInSeconds": 0,
- "customerName": "string"
}
Find jobs based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
jobIds | Array of strings or null [ 1 .. 500 ] items Filter to jobs whose ids are in the list |
numbers | Array of integers or null <int32> [ 1 .. 500 ] items Filter jobs to only given numbers |
jobNames | Array of strings or null [ 1 .. 500 ] items Filter jobs to only given names |
status | string (JobStatusEnum) Enum: "draft" "needsReview" "approved" "engineering" "scheduled" "inProgress" "complete" "cancelled" "hold" Job status |
statuses | Array of strings or null (JobStatusEnum) Enum: "draft" "needsReview" "approved" "engineering" "scheduled" "inProgress" "complete" "cancelled" "hold" Filter jobs to match the given statuses |
parentItemId | string or null Filter jobs based on the id of the parent item they produce |
hasIncompleteOperations | boolean or null Filters jobs to have those that have at least 1 incomplete operation. Note that this will filter out jobs that haven't been approved yet because they technically have no operations on them until approved. |
salesOrderId | string or null = 24 characters Filters for jobs that are for this sales order id. Please reference /api/sales-orders endpoint. |
createdBeforeUtc | string or null <date-time> Filters jobs created before (exclusive) this parameter in UTC time. If not time component is passed, midnight UTC will be used. |
createdAfterUtc | string or null <date-time> Filters jobs created after (exclusive) this parameter in UTC time. If not time component is passed, midnight UTC will be used. |
Responses
Request samples
- Payload
{- "jobIds": [
- "string"
], - "numbers": [
- 0
], - "jobNames": [
- "string"
], - "status": "draft",
- "statuses": [
- "draft"
], - "parentItemId": "string",
- "hasIncompleteOperations": true,
- "salesOrderId": "stringstringstringstring",
- "createdBeforeUtc": "2019-08-24T14:15:22Z",
- "createdAfterUtc": "2019-08-24T14:15:22Z"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "parentItemId": "stringstringstringstring",
- "quantityToMake": 0,
- "productionDueDate": "2019-08-24T14:15:22Z",
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "revenue": 0,
- "workOrderIds": [
- "string"
], - "workOrders": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string"
}
], - "status": "draft",
- "priority": "low",
- "customFields": {
- "property1": null,
- "property2": null
}
}
]
Update a job status
path Parameters
jobId required | string = 24 characters |
Request Body schema:
status required | string (JobStatusEnum) Enum: "draft" "needsReview" "approved" "engineering" "scheduled" "inProgress" "complete" "cancelled" "hold" Job status |
createPOs | boolean or null Create Purchase Orders for the Job. Required for the following statuses: Engineering, Approved |
isInitialDataImport | boolean or null The job will be created as Complete. No inventory transactions. This is should mostly be used when importing jobs from legacy systems. Required for the following statuses: Complete |
Responses
Request samples
- Payload
{- "status": "draft",
- "createPOs": true,
- "isInitialDataImport": true
}
Update (selectively) custom fields on a job
path Parameters
jobId required | string = 24 characters The job identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on a job
path Parameters
jobId required | string = 24 characters The job identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Deletes a full routing operation in process tracking field for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
iptId required | string <uuid> |
Responses
Lists full routing operation in process tracking field for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to in process tracking fields whose label contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
]
Create a full routing input item for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Response samples
- 200
{- "id": "string"
}
Gets a full routing input item for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
inputItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Update a full routing input item for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
inputItemId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Lists the full routing input items for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
List input materials for a job's routing
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "materialId": "string",
- "materialName": "string",
- "materialShape": {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}, - "costing": "fullCost",
- "nestings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
]
Creates a full routing operation in process tracking field for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
Request Body schema:
label required | string non-empty Label describing the in process tracking field |
description | string or null The description of the in process tracking field |
units | string or null The units used when this in process tracking field represents a number |
fieldTypeId required | string non-empty The id of the field type for this in process tracking field |
targetValue | number or null <double> The target or ideal value of an in process tracking field response |
minimumValue | number or null <double> The minimum acceptable value for a tracking field response |
maximumValue | number or null <double> The maximum acceptable value for a tracking field response |
triggeringBooleanValue | boolean or null The target value for booleans. Typically Yes/No for proceeding with next checkpoint |
triggeringDropdownValue | string or null The target value for multiple options |
required | boolean Whether the in process tracking field requires a response |
restricted | boolean If true, only users with the appropriate permission will be allowed to save a response. |
firstArticle | boolean Only applies to the During phase. If true (and Required), this field will prevent adding any completed items to inventory if target is not met. |
Responses
Request samples
- Payload
{- "label": "string",
- "description": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
Response samples
- 200
{- "id": "string"
}
Creates a full routing operation for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
Request Body schema:
systemOperationId required | string = 24 characters System Operation Id |
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
instructions | string or null [ 1 .. 2000 ] characters Operation instructions. Will default to the instructions defined on the operation when not provided. |
inputMaterialIds | Array of strings or null The ids on the input material to associate to this operation. This value should be the Id from the response from items/{itemId}/routing/input-materials/list |
Responses
Request samples
- Payload
{- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "instructions": "string",
- "inputMaterialIds": [
- "string"
]
}
Response samples
- 200
{- "id": "string"
}
Gets a full routing operation for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
Updates a full routing operation for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
Request Body schema:
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
Responses
Request samples
- Payload
{- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true
}
Gets a full routing operation item for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
operationItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
List full routing operation items for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
Lists full routing operations for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to operations who's name contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
]
Gets a full routing operation in process tracking field for a job
path Parameters
jobId required | string = 24 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
iptId required | string <uuid> |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
Get a specific item to make on a job
path Parameters
jobId required | string = 24 characters |
itemToMakeId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0
}
Adds additional quantity completed to a job operation without completing the operation. Each call will increment the quantity completed by the specified amount.
This is a non-idempotent action. Multiple calls with the same parameters will result in the quantity being added multiple times. Implement appropriate client-side controls to prevent duplicate submissions.
path Parameters
jobId required | string The ID of the job |
itemToMakeId required | string The ID of the item to make |
operationId required | string The ID of the operation |
Request Body schema:
The request containing the additional quantity to add
additionalQuantity required | number <double> The additional quantity to add to the operation's completed quantity. Must be greater than zero. |
Responses
Request samples
- Payload
{- "additionalQuantity": 0
}
Response samples
- 200
{- "jobId": "string",
- "itemToMakeId": "string",
- "operationId": "string",
- "previousQuantityCompleted": 0,
- "additionalQuantityAdded": 0,
- "newTotalQuantityCompleted": 0,
- "quantityRequired": 0,
- "operationStatus": "string"
}
Get a specific operation for an item to make on a job
path Parameters
jobId required | string = 24 characters |
itemToMakeId required | string = 36 characters |
operationId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
Get a specific operation for an item to make on a job
path Parameters
jobId required | string = 24 characters |
itemToMakeId required | string = 36 characters |
operationId required | string = 36 characters |
Request Body schema:
object or null The custom fields to update on the operation object | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Get a list of operations for an item to make on a job
path Parameters
jobId required | string = 24 characters |
itemToMakeId required | string = 36 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
]
Pick a specific item for a specific item to make on a job.
path Parameters
jobId required | string = 24 characters |
itemToMakeId required | string = 36 characters |
operationId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The identifier of the item to be picked. Please reference api/items endpoint |
quantity required | number <double> Quantity of the item to pick. |
locationId | string or null ID of the location to pick from. If not set or set to an empty string, will
pick from inventory not assigned to a location. Cannot be set if FulcrumProduct.PublicApi.Dto.Job.ItemToMake.OperationPickInventoryDto.UseDefaultLocation
is set to |
useDefaultLocation | boolean If set to true, inventory will be picked from the default location for the item. If set to true, FulcrumProduct.PublicApi.Dto.Job.ItemToMake.OperationPickInventoryDto.LocationId cannot be set. If the item does not have a default location set and this is set to true, will pick from inventory not assigned to a location. |
lotId | string or null The ID of the lot to pick from. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "quantity": 0,
- "locationId": "string",
- "useDefaultLocation": true,
- "lotId": "string"
}
Response samples
- 200
[- {
- "itemToMake": {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "quantityToMake": 0,
- "isCustom": true,
- "status": "new",
- "quantityMade": 0,
- "depth": 0,
- "itemReference": {
- "id": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "name": "string",
- "description": "string"
}
}, - "operation": {
- "id": "stringstringstringstringstringstring",
- "status": "pending",
- "order": 0,
- "systemOperationId": "stringstringstringstring",
- "isOutsideProcessing": true,
- "originalScheduledStartUtc": "2019-08-24T14:15:22Z",
- "originalScheduledEndUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "completedById": "string",
- "scheduledEquipmentId": "string",
- "scheduledEquipmentName": "string",
- "customFields": {
- "property1": null,
- "property2": null
}, - "instructions": "string",
- "name": "string",
- "leadTimeInDays": 0,
- "associatedPurchaseOrderIds": [
- "string"
], - "estimatedSetupTimeInSeconds": 0,
- "estimatedSetupTimeBasis": "fixed",
- "estimatedRunTimeInSeconds": 0,
- "estimatedRunTimeBasis": "fixed",
- "estimatedMachineTimeInSeconds": 0,
- "estimatedMachineTimeBasis": "fixed",
- "estimatedLaborTimeInSeconds": 0,
- "estimatedLaborTimeBasis": "fixed",
- "isMachineTimeOnly": true,
- "workOrderId": "stringstringstringstring"
}
}
]
Finds job tracking timers based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
The search parameters
userId | string or null Filter timers based on who started it |
jobId | string or null Filter timers based on job |
runningTimersOnly | boolean or null Filter to only running timers |
types | Array of strings or null (DomainTimeTrackingTimer_Type) non-empty Enum: "setup" "run" "clockIn" "break" "labor" "machine" Filter to specific timer types |
createdBeforeUtc | string or null <date-time> Filters timers created before (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
createdAfterUtc | string or null <date-time> Filters timers created after (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
modifiedBeforeUtc | string or null <date-time> Filters timers modified before (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
modifiedAfterUtc | string or null <date-time> Filters timers modified after (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
startedBeforeUtc | string or null <date-time> Filters timers started before (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
startedAfterUtc | string or null <date-time> Filters timers started after (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
stoppedBeforeUtc | string or null <date-time> Filters timers stopped before (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
stoppedAfterUtc | string or null <date-time> Filters timers stopped after (exclusive) this parameter in UTC time. If no time component is passed, midnight UTC will be used. |
stoppedBeforeUtcOriginal | string or null <date-time> Filters timers stopped before (exclusive) this parameter in UTC time. This explicitly looks at the ORIGINAL stopped date which means this would be primarily for filtering mechanics that necessitate scope limiting. If no time component is passed, midnight UTC will be used. |
stoppedAfterUtcOriginal | string or null <date-time> Filters timers stopped after (exclusive) this parameter in UTC time. This explicitly looks at the ORIGINAL stopped date which means this would be primarily for filtering mechanics that necessitate scope limiting. If no time component is passed, midnight UTC will be used. |
Responses
Request samples
- Payload
{- "userId": "string",
- "jobId": "string",
- "runningTimersOnly": true,
- "types": [
- "setup"
], - "createdBeforeUtc": "2019-08-24T14:15:22Z",
- "createdAfterUtc": "2019-08-24T14:15:22Z",
- "modifiedBeforeUtc": "2019-08-24T14:15:22Z",
- "modifiedAfterUtc": "2019-08-24T14:15:22Z",
- "startedBeforeUtc": "2019-08-24T14:15:22Z",
- "startedAfterUtc": "2019-08-24T14:15:22Z",
- "stoppedBeforeUtc": "2019-08-24T14:15:22Z",
- "stoppedAfterUtc": "2019-08-24T14:15:22Z",
- "stoppedBeforeUtcOriginal": "2019-08-24T14:15:22Z",
- "stoppedAfterUtcOriginal": "2019-08-24T14:15:22Z"
}
Response samples
- 200
{- "data": [
- {
- "id": "stringstringstringstring",
- "jobId": "string",
- "jobName": "string",
- "itemToMakeId": "string",
- "itemToMakeItemId": "string",
- "itemToMakeName": "string",
- "itemToMakeDescription": "string",
- "jobOperationId": "string",
- "jobOperationName": "string",
- "jobOperationDescription": "string",
- "startedById": "string",
- "startedOnUtc": "2019-08-24T14:15:22Z",
- "startedOnUtcOriginal": "2019-08-24T14:15:22Z",
- "stoppedOnUtc": "2019-08-24T14:15:22Z",
- "stoppedOnUtcOriginal": "2019-08-24T14:15:22Z",
- "type": "setup",
- "isRunning": true,
- "createdUtc": "2019-08-24T14:15:22Z",
- "modifiedUtc": "2019-08-24T14:15:22Z",
- "elapsedTimeInSeconds": 0,
- "operationTimeInSeconds": 0,
- "laborTimeInSeconds": 0,
- "machineTimeInSeconds": 0,
- "segments": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "startedOnUtc": "2019-08-24T14:15:22Z",
- "stoppedOnUtc": "2019-08-24T14:15:22Z",
- "isRunning": true,
- "details": {
- "timeInSeconds": 0,
- "timeInSecondsWeighted": 0,
- "multiplier": 0
}
}
], - "details": {
- "timeInSeconds": 0,
- "timeInSecondsWeighted": 0,
- "rateHourlyInPrimaryCurrency": 0,
- "cost": 0
}
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Starts a job tracking timer.
Request Body schema:
userId | string or null = 24 characters The user identifier to associate the timer to. If not supplied, will use the user assigned to the api key used for authorization |
jobId required | string non-empty The job identifier |
itemToMakeId required | string = 36 characters The item to make identifier |
operationId required | string = 36 characters The operation identifier |
type required | string (DomainTimeTrackingTimer_Type) Enum: "setup" "run" "clockIn" "break" "labor" "machine" |
Responses
Request samples
- Payload
{- "userId": "stringstringstringstring",
- "jobId": "string",
- "itemToMakeId": "stringstringstringstringstringstring",
- "operationId": "stringstringstringstringstringstring",
- "type": "setup"
}
Stops a job tracking timer
Request Body schema:
userId | string or null = 24 characters The user identifier to associate the timer to. If not supplied, will use the user assigned to the api key used for authorization |
timerId required | string = 24 characters The timer identifier |
Responses
Request samples
- Payload
{- "userId": "stringstringstringstring",
- "timerId": "stringstringstringstring"
}
Find locations based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter locations based on their name. |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "barcode": "string"
}
]
Activate materials based on ids
Request Body schema:
materialIds required | Array of strings Material ids to activate. |
Responses
Request samples
- Payload
{- "materialIds": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}
]
Response samples
- 200
{- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}
Find materials based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
ids | Array of strings or null Filter materials based on matching ids. |
materials | Array of strings or null Material names. |
grades | Array of strings or null Grades. |
forms | Array of strings or null (CommonEnumMaterialFormEnum) Enum: "sheet" "plate" "roundBar" "flatBar" "channel" "squareTube" "angle" "treadPlate" "hexBar" "squareBar" "teeBar" "hBeam" "rectTube" "pipe" "wBeam" "sBeam" "roundTube" "rectBar" "wideBar" Material forms. |
displayDimensions | Array of strings or null A list of dimension display values to include |
active | boolean or null Indicate whether to specifically only pull active materials. If left null, all rows are included. |
temper | Array of strings or null A list of tempers |
Responses
Request samples
- Payload
{- "ids": [
- "string"
], - "materials": [
- "string"
], - "grades": [
- "string"
], - "forms": [
- "sheet"
], - "displayDimensions": [
- "string"
], - "active": true,
- "temper": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}
]
Create a new material vendor
path Parameters
materialId required | string |
Request Body schema:
vendorId required | string = 24 characters Vendor id associated to this entity. Please reference /api/vendors endpoint. |
priceUnit required | string (CommonEnumMaterialVendorPriceUnitEnum) Enum: "kilogram" "pound" Specifies how a routing input item quantity is measured. |
isPrimary | boolean Signifies if this is the primary vendor for this material. |
leadTimeInDays | integer or null <int32> >= 0 Lead time for this vendor. |
required | Array of objects (MaterialShapeVendorPriceBreakCreateDto) Vendor price breaks |
Responses
Request samples
- Payload
{- "vendorId": "stringstringstringstring",
- "priceUnit": "kilogram",
- "isPrimary": true,
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "quantity": 0,
- "price": 0
}
]
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
]
Update a specific material vendor
path Parameters
materialId required | string The id of the item to modify vendors for |
vendorId required | string = 24 characters The id of the actual vendor. |
Request Body schema:
The new data to apply to the given vendor detail
isPrimary | boolean Signifies if this is the primary vendor for this material. |
leadTimeInDays | integer or null <int32> >= 0 Lead time for this vendor. |
required | Array of objects (MaterialShapeVendorPriceBreakCreateDto) Vendor price breaks |
Responses
Request samples
- Payload
{- "isPrimary": true,
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "quantity": 0,
- "price": 0
}
]
}
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
Find material codes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Finds NCRs based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
status | string or null Filter NCRs by a specific status Accepted Values: Closed, Hold, New, Quality Review, Engineering Review |
type | string or null Filter NCRs by a specific type Accepted Values: Customer Complaint, Quality, Quantity, Return, Warranty |
cause | string or null Filter NCRs by a specific cause Accepted Values: Equipment, Human, Customer, Vendor, Material, Fixturing, Process, Other |
reason | string or null Filter NCRs by a specific reason Accepted Values: Inspection, Quantity, Material, Orientation, Process, Other |
createdUtc | string or null <date-time> Filter NCRs created after a certain date |
Responses
Request samples
- Payload
{- "status": "string",
- "type": "string",
- "cause": "string",
- "reason": "string",
- "createdUtc": "2019-08-24T14:15:22Z"
}
Response samples
- 200
{- "data": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "type": "string",
- "cause": "string",
- "detail": "string",
- "department": "string",
- "workCenter": "string",
- "scheduledEquipment": "string",
- "reason": "string",
- "operator": "string",
- "status": "string",
- "quantityImpacted": 0,
- "incrementalCost": 0,
- "createdUtc": "2019-08-24T14:15:22Z",
- "completedUtc": "2019-08-24T14:15:22Z",
- "jobIds": [
- "string"
]
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Create a new note on a parent document
Request Body schema:
parentId required | string [ 24 .. 36 ] characters Unique identifier of the object to which the note is attached Can be 24 or 36 characters, depending on parent type |
parentType required | string (NoteTypeEnum) Enum: "salesOrder" "purchaseOrder" "quote" "invoice" Note parent document type |
body required | string [ 1 .. 2000 ] characters Note text |
mentions | Array of strings or null User Ids to tag in the note. Please reference /api/users endpoints. |
Responses
Request samples
- Payload
{- "parentId": "stringstringstringstring",
- "parentType": "salesOrder",
- "body": "string",
- "mentions": [
- "string"
]
}
Response samples
- 200
{- "id": "string"
}
Find notes based on search parameters.
Request Body schema:
parentType required | string (NoteTypeEnum) Enum: "salesOrder" "purchaseOrder" "quote" "invoice" Note parent document type |
parentId required | string [ 24 .. 36 ] characters Filter notes by parent Id. Either 24 or 36 characters, depending on parent type |
Responses
Request samples
- Payload
{- "parentType": "salesOrder",
- "parentId": "stringstringstringstring"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "parentId": "stringstringstringstring",
- "parentType": "salesOrder",
- "body": "string",
- "mentions": [
- "string"
]
}
]
Create a new operation
Request Body schema:
name required | string [ 1 .. 200 ] characters The name of operation. |
description required | string [ 1 .. 200 ] characters The description of the operation. |
isOutsideProcessing | boolean Specifies whether this is an outside processing operation. |
object (ItemRoutingOperationTime) Operation time and type | |
object (ItemRoutingOperationTime) Operation time and type | |
object (ItemRoutingOperationTime) Operation time and type | |
machineTimeTrackingEnabled | boolean Specifies whether machine tracking is enabled. |
object (ItemRoutingOperationTime) Operation time and type | |
defaultVendorId | string or null = 24 characters Default vendor id that will be used for this operation. Please reference /api/vendors endpoint. |
vendors | Array of strings or null Available vendors. |
leadDays | integer or null <int32> >= 0 Lead days. |
instructions | string or null [ 1 .. 2000 ] characters Instructions. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "isOutsideProcessing": true,
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTimeTrackingEnabled": true,
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "defaultVendorId": "stringstringstringstring",
- "vendors": [
- "string"
], - "leadDays": 0,
- "instructions": "string",
- "accountingCodeId": "stringstringstringstring"
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTimeTrackingEnabled": true,
- "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "isOutsideProcessing": true,
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "unattended": true,
- "defaultVendorId": "stringstringstringstring",
- "leadDays": 0,
- "accountingCodeId": "stringstringstringstring",
- "workCenters": [
- {
- "id": "stringstringstringstring",
- "name": "string"
}
]
}
Find operations based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter operations based on their name. |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTimeTrackingEnabled": true,
- "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "isOutsideProcessing": true,
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "unattended": true,
- "defaultVendorId": "stringstringstringstring",
- "leadDays": 0,
- "accountingCodeId": "stringstringstringstring",
- "workCenters": [
- {
- "id": "stringstringstringstring",
- "name": "string"
}
]
}
]
Find payment terms based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter payment terms based on their name. |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "dueDays": 0,
- "deleted": true
}
]
Create a new draft purchase order
Request Body schema:
vendorId required | string = 24 characters Vendor Id |
type required | string (PurchaseOrderTypeEnum) Enum: "standard" "outsideProcessing" "vendorCredit" Purchase order type |
contactId | string or null = 36 characters Vendor Contact Id; defaults to the Id of the first contact belonging to the input vendor |
companyInfoId | string or null = 24 characters Company Information Id; defaults to primary company info Id |
currencyCode | string or null Currency code override; defaults to vendor currency code override, then the company's primary currency code |
object or null External references associated with this entity. | |
expectedReceiveDate | string or null <date-time> PO Expected receipt date |
Responses
Request samples
- Payload
{- "vendorId": "stringstringstringstring",
- "type": "standard",
- "contactId": "stringstringstringstringstringstring",
- "companyInfoId": "stringstringstringstring",
- "currencyCode": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "expectedReceiveDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "issueDate": "2019-08-24T14:15:22Z",
- "earliestReceiveDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "vendorId": "stringstringstringstring",
- "contactId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "type": "standard",
- "status": "draft",
- "receivingStatus": "notReceived",
- "vendorCredit": 0,
- "discount": 0,
- "subTotal": 0,
- "total": 0,
- "companyInfoId": "stringstringstringstring",
- "vendorNote": "string",
- "notes": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "deleted": true,
- "currencyCode": "string",
- "vendorOrderNumber": "string"
}
Get a specific purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "issueDate": "2019-08-24T14:15:22Z",
- "earliestReceiveDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "vendorId": "stringstringstringstring",
- "contactId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "type": "standard",
- "status": "draft",
- "receivingStatus": "notReceived",
- "vendorCredit": 0,
- "discount": 0,
- "subTotal": 0,
- "total": 0,
- "companyInfoId": "stringstringstringstring",
- "vendorNote": "string",
- "notes": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "deleted": true,
- "currencyCode": "string",
- "vendorOrderNumber": "string"
}
Partially update a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "issueDate": "2019-08-24T14:15:22Z",
- "earliestReceiveDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "vendorId": "stringstringstringstring",
- "contactId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "type": "standard",
- "status": "draft",
- "receivingStatus": "notReceived",
- "vendorCredit": 0,
- "discount": 0,
- "subTotal": 0,
- "total": 0,
- "companyInfoId": "stringstringstringstring",
- "vendorNote": "string",
- "notes": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "deleted": true,
- "currencyCode": "string",
- "vendorOrderNumber": "string"
}
Update a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
vendorNote | string or null [ 1 .. 2000 ] characters The vendor note is a string property that represents a note provided to the vendor. |
vendorOrderNumber | string or null Vendor order number associated to a third party system. |
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "vendorNote": "string",
- "vendorOrderNumber": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "issueDate": "2019-08-24T14:15:22Z",
- "earliestReceiveDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "vendorId": "stringstringstringstring",
- "contactId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "type": "standard",
- "status": "draft",
- "receivingStatus": "notReceived",
- "vendorCredit": 0,
- "discount": 0,
- "subTotal": 0,
- "total": 0,
- "companyInfoId": "stringstringstringstring",
- "vendorNote": "string",
- "notes": [
- "string"
], - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "deleted": true,
- "currencyCode": "string",
- "vendorOrderNumber": "string"
}
Find purchase orders based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
numbers | Array of integers or null <int32> [ 1 .. 500 ] items Filter purchase orders to only given numbers |
status | string (PurchaseOrderStatusEnum) Enum: "draft" "needsApproval" "approved" "ordered" "paid" "cancelled" Purchase order status |
receivingStatus | string (PurchaseOrderReceivingStatusEnum) Enum: "notReceived" "partiallyReceived" "received" Purchase order receipt status |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. | |
includeReceiptData | boolean If set to true, receipt data will be included in the results |
vendorId | string or null = 24 characters The vendor id. |
Responses
Request samples
- Payload
{- "numbers": [
- 0
], - "status": "draft",
- "receivingStatus": "notReceived",
- "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}, - "includeReceiptData": true,
- "vendorId": "stringstringstringstring"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": 0,
- "issueDate": "2019-08-24T14:15:22Z",
- "orderDate": "2019-08-24T14:15:22Z",
- "vendorId": "stringstringstringstring",
- "type": "standard",
- "status": "draft",
- "receivingStatus": "notReceived",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "customFieldData": {
- "property1": null,
- "property2": null
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "currencyCode": "string",
- "vendorOrderNumber": "string",
- "vendorNote": "string"
}
]
Update a purchase order status
path Parameters
purchaseOrderId required | string = 24 characters |
Request Body schema:
status required | string (PurchaseOrderStatusEnum) Enum: "draft" "needsApproval" "approved" "ordered" "paid" "cancelled" Purchase order status |
paidDate | string or null <date-time> The date that the purchase order was paid. Should be provided in UTC. Will default to current date/time if not provided when applicable. |
Responses
Request samples
- Payload
{- "status": "draft",
- "paidDate": "2019-08-24T14:15:22Z"
}
Update (selectively) custom fields on a purchase order
path Parameters
id required | string = 24 characters The purchase order identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on a purchase order
path Parameters
id required | string = 24 characters The purchase order identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Get the discount line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Create a fee line item on a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Verbose name for this entity. |
description | string or null [ 1 .. 200 ] characters Verbose description for this entity. |
quantity | number or null <double> >= 0 The line item quantity. Required for receivable line items. |
price required | number <double> >= 0 The line item unit price. |
isReceivable | boolean or null Dictate if this fee is receivable. If not provided, defaults to false. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
unitOfMeasure | string (CommonEnumLineItemUomEnum) Enum: "notApplicable" "piece" "linearFeet" "hour" "yard" Line item unit of measure. |
isTaxable | boolean or null Dictate if this fee is taxable. If not provided, defaults to false. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. |
taxRate | number or null <double> >= 0 Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.PurchaseOrder.FeeLineItem.FeeLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.PurchaseOrder.FeeLineItem.FeeLineItemCreateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "isReceivable": true,
- "accountingCodeId": "stringstringstringstring",
- "unitOfMeasure": "notApplicable",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
Get a specific fee line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "isReceivable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific fee line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "isReceivable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific fee line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Verbose name for this entity. |
description | string or null [ 1 .. 200 ] characters Verbose description for this entity. |
quantity | number or null <double> >= 0 The line item quantity. Required for receivable line items. |
price required | number <double> >= 0 The line item price. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
unitOfMeasure | string (CommonEnumLineItemUomEnum) Enum: "notApplicable" "piece" "linearFeet" "hour" "yard" Line item unit of measure. |
isReceivable | boolean or null Dictate if this fee is receivable. If not provided, defaults to false. |
isTaxable | boolean or null Dictate if this fee is taxable. If not provided, defaults to false. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. |
taxRate | number or null <double> >= 0 Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.PurchaseOrder.FeeLineItem.FeeLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.PurchaseOrder.FeeLineItem.FeeLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "unitOfMeasure": "notApplicable",
- "isReceivable": true,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "isReceivable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of fee lines items for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "isReceivable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific line item for a purchase order of generic type
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "type": "part",
- "price": 0,
- "discountedPrice": 0,
- "name": "string",
- "description": "string",
- "quantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "taxCodeId": "stringstringstringstring",
- "isTaxable": true,
- "lineItemId": "string",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of lines items for a purchase order, regardless of type
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "type": "part",
- "price": 0,
- "discountedPrice": 0,
- "name": "string",
- "description": "string",
- "quantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "taxCodeId": "stringstringstringstring",
- "isTaxable": true,
- "lineItemId": "string",
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Create an outside processing line item on a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Request Body schema:
jobId required | string = 24 characters Job id associated with this line item. |
operationId required | string = 36 characters Operation id associated with this line item. |
quantity | number or null <double> >= 0 The line item quantity. If not provided, defaults to Job operation QuantityToMake |
price | number or null <double> >= 0 The line item unit price. If not provided, defaults to price data stored on Job operation. |
Responses
Request samples
- Payload
{- "jobId": "stringstringstringstring",
- "operationId": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0
}
Response samples
- 200
{- "id": "string"
}
Get a specific outside processing line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "jobId": "stringstringstringstring",
- "operationId": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "accountingCodeId": "stringstringstringstring",
- "description": "string",
- "receivedStatus": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
Partially update a specific outside processing line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "jobId": "stringstringstringstring",
- "operationId": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "accountingCodeId": "stringstringstringstring",
- "description": "string",
- "receivedStatus": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
Update a specific outside processing line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
quantity | number or null <double> >= 0 The line item quantity |
price | number or null <double> >= 0 The line item price. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "quantity": 0,
- "price": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "jobId": "stringstringstringstring",
- "operationId": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "accountingCodeId": "stringstringstringstring",
- "description": "string",
- "receivedStatus": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
Get a list of outside processing lines items for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "jobId": "stringstringstringstring",
- "operationId": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "accountingCodeId": "stringstringstringstring",
- "description": "string",
- "receivedStatus": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
]
Create a part line item on a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Request Body schema:
itemId required | string = 24 characters Item id associated with this line item. |
quantity | number <double> >= 0 The line item quantity |
price | number or null <double> >= 0 The line item unit price. Defaults to item's vendor price, if not provided. |
isTaxExempt | boolean or null Dictate if this line item is tax exempt. Defaults to item details, if not provided. |
expectedReceiveDate | string or null <date-time> Expected receipt date for this line item. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "quantity": 0,
- "price": 0,
- "isTaxExempt": true,
- "expectedReceiveDate": "2019-08-24T14:15:22Z"
}
Response samples
- 200
{- "id": "string"
}
Get a specific part line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "receivedStatus": "open",
- "convertedQuantity": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFieldData": {
- "property1": null,
- "property2": null
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "vendorPartNumber": "string",
- "vendorPartDescription": "string",
- "vendorNote": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "isInventoried": true
}
Partially update a specific part line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "receivedStatus": "open",
- "convertedQuantity": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFieldData": {
- "property1": null,
- "property2": null
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "vendorPartNumber": "string",
- "vendorPartDescription": "string",
- "vendorNote": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "isInventoried": true
}
Update a specific part line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
quantity required | number <double> >= 0 The line item quantity |
price | number or null <double> >= 0 The line item unit price. Defaults to item's vendor price, if not provided. |
isTaxExempt | boolean or null Override tax exempt status of the part line item, if present. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
vendorNote | string or null [ 1 .. 2000 ] characters Notes intended for the vendor for this part line item |
Responses
Request samples
- Payload
{- "quantity": 0,
- "price": 0,
- "isTaxExempt": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "vendorNote": "string"
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "receivedStatus": "open",
- "convertedQuantity": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFieldData": {
- "property1": null,
- "property2": null
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "vendorPartNumber": "string",
- "vendorPartDescription": "string",
- "vendorNote": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "isInventoried": true
}
Get a list of part line items for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "receivedStatus": "open",
- "convertedQuantity": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "expectedReceiveDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFieldData": {
- "property1": null,
- "property2": null
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "vendorPartNumber": "string",
- "vendorPartDescription": "string",
- "vendorNote": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "isInventoried": true
}
]
Get a specific tax line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "code": "string",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "taxCodeEditable": true,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of tax lines items for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "code": "string",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "taxCodeEditable": true,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific vendor credit line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "vendorCredit": 0,
- "itemId": "stringstringstringstring",
- "purchaseOrderId": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific vendor credit line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "vendorCredit": 0,
- "itemId": "stringstringstringstring",
- "purchaseOrderId": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific vendor credit line item for a purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "vendorCredit": 0,
- "itemId": "stringstringstringstring",
- "purchaseOrderId": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of vendor credit line items for a specific purchase order
path Parameters
purchaseOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "vendorCredit": 0,
- "itemId": "stringstringstringstring",
- "purchaseOrderId": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "description": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
TO BE REMOVED 06/30/2025 - Create a new draft quote Deprecated
Please use provided route instead ==> quotes
Request Body schema:
customerId required | string = 24 characters The id of the customer to be created |
object (CommonAddressCreateDto) Address with additional context | |
object (CommonAddressCreateDto) Address with additional context | |
object (CustomerContactCreateDto) A customer contact | |
object or null Arbitrary key-value-pair like data that can be used to later on search for the Quote | |
salesPersonId | string or null = 24 characters Sales Person identifier. Please reference /api/users endpoint. If not provided, the salesperson defined on the customer will be used. |
object (FulcrumProDomainReference) | |
opportunity | string or null CRM Opportunity identifier. |
Responses
Request samples
- Payload
{- "customerId": "stringstringstringstring",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "shippingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "email": "[email protected]"
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesPersonId": "stringstringstringstring",
- "crmOpportunity": {
- "primaryKeyId": 0,
- "id": "string",
- "name": "string",
- "createdUtc": "2019-08-24T14:15:22Z"
}, - "opportunity": "string"
}
Response samples
- 200
{- "id": "string"
}
Create a new draft quote
Request Body schema:
customerId required | string = 24 characters The id of the customer to be created |
object (CommonAddressCreateDto) Address with additional context | |
object (CommonAddressCreateDto) Address with additional context | |
object (CustomerContactCreateDto) A customer contact | |
object or null Arbitrary key-value-pair like data that can be used to later on search for the Quote | |
salesPersonId | string or null = 24 characters Sales Person identifier. Please reference /api/users endpoint. If not provided, the salesperson defined on the customer will be used. |
object (FulcrumProDomainReference) | |
opportunity | string or null CRM Opportunity identifier. |
Responses
Request samples
- Payload
{- "customerId": "stringstringstringstring",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "shippingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "email": "[email protected]"
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesPersonId": "stringstringstringstring",
- "crmOpportunity": {
- "primaryKeyId": 0,
- "id": "string",
- "name": "string",
- "createdUtc": "2019-08-24T14:15:22Z"
}, - "opportunity": "string"
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "customerId": "stringstringstringstring",
- "quotedDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "totalInPrimaryCurrency": 0,
- "currencyInfo": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string",
- "exchangeRate": 0,
- "exchangeRateUpdatedOnUtc": "2019-08-24T14:15:22Z",
- "exchangeRateError": "string"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "opportunity": "string",
- "salesPersonId": "stringstringstringstring",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "shippingAddresses": [
- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
], - "companyId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z"
}
Partially update a quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "customerId": "stringstringstringstring",
- "quotedDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "totalInPrimaryCurrency": 0,
- "currencyInfo": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string",
- "exchangeRate": 0,
- "exchangeRateUpdatedOnUtc": "2019-08-24T14:15:22Z",
- "exchangeRateError": "string"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "opportunity": "string",
- "salesPersonId": "stringstringstringstring",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "shippingAddresses": [
- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
], - "companyId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z"
}
Update a quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
object (CommonAddressCreateDto) Address with additional context | |
object or null Arbitrary key-value-pair like data that can be used to later on search for the Quote | |
opportunity | string or null CRM Opportunity identifier. |
salesPersonId | string or null = 24 characters Sales Person identifier. Please reference /api/users endpoint. |
Responses
Request samples
- Payload
{- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "opportunity": "string",
- "salesPersonId": "stringstringstringstring"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "customerId": "stringstringstringstring",
- "quotedDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "totalInPrimaryCurrency": 0,
- "currencyInfo": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string",
- "exchangeRate": 0,
- "exchangeRateUpdatedOnUtc": "2019-08-24T14:15:22Z",
- "exchangeRateError": "string"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "opportunity": "string",
- "salesPersonId": "stringstringstringstring",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "shippingAddresses": [
- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
], - "companyId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z"
}
Find quotes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
numbers | Array of integers or null <int32> [ 1 .. 500 ] items Filter quotes to only given numbers |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. | |
status | string (DtoQuotesStatus) Enum: "open" "draft" "needsApproval" "approved" "sent" "won" "lost" Quotes status |
modifiedAfterUtc | string or null <date-time> Filter to quote records modified after the given datetime (in UTC) |
Responses
Request samples
- Payload
{- "numbers": [
- 0
], - "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}, - "status": "open",
- "modifiedAfterUtc": "2019-08-24T14:15:22Z"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": 0,
- "customerId": "stringstringstringstring",
- "quotedDate": "2019-08-24T14:15:22Z",
- "status": "open",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "totalInPrimaryCurrency": 0,
- "currencyInfo": {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "documentCurrencyCode": "string",
- "primaryCurrencyCode": "string",
- "exchangeRate": 0,
- "exchangeRateUpdatedOnUtc": "2019-08-24T14:15:22Z",
- "exchangeRateError": "string"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "opportunity": "string",
- "salesPersonId": "stringstringstringstring",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "shippingAddresses": [
- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
], - "companyId": "stringstringstringstring",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "createdUtc": "2019-08-24T14:15:22Z"
}
]
Update a quote status
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
status required | string (DtoQuoteUpdateQuotesStatus) Enum: "draft" "needsApproval" "approved" "sent" "won" "lost" Statuses you can update a quote too |
Responses
Request samples
- Payload
{- "status": "draft"
}
Update (selectively) custom fields on a quote
path Parameters
id required | string = 24 characters The quote identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on a quote
path Parameters
id required | string = 24 characters The quote identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Get the discount line item for a quote
path Parameters
quoteId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update the discount line item for a quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
name required | string [ 1 .. 200 ] characters The name of the discount line. |
description | string or null [ 1 .. 2000 ] characters The description of the discount line. |
isPercentage required | boolean Indicates whether "Amount" value is percentage based or an absolute amount. |
amount required | number <double> >= 0 The amount of the discount. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Create a fee line item on a Quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Verbose name for this entity. |
description | string or null [ 1 .. 2000 ] characters Verbose description for this entity. |
quantity | number or null <double> >= 0 The line item quantity |
price required | number <double> >= 0 The line item price. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
unitOfMeasure | string (CommonEnumLineItemUomEnum) Enum: "notApplicable" "piece" "linearFeet" "hour" "yard" Line item unit of measure. |
isTaxable | boolean or null Dictate if this fee is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. |
taxRate | number or null <double> >= 0 Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.FeeLineItem.QuoteFeeLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.FeeLineItem.QuoteFeeLineItemCreateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "unitOfMeasure": "notApplicable",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
Get a specific fee line item for a Quote
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "accountingCodeId": "stringstringstringstring"
}
Update a specific fee line item for a Quote
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Verbose name for this entity. |
description | string or null [ 1 .. 2000 ] characters Verbose description for this entity. |
quantity | number or null <double> >= 0 The line item quantity |
price required | number <double> >= 0 The line item price. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
unitOfMeasure | string (CommonEnumLineItemUomEnum) Enum: "notApplicable" "piece" "linearFeet" "hour" "yard" Line item unit of measure. |
isTaxable | boolean or null Dictate if this fee is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint |
taxRate | number or null <double> >= 0 Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.FeeLineItem.QuoteFeeLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.FeeLineItem.QuoteFeeLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "unitOfMeasure": "notApplicable",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "accountingCodeId": "stringstringstringstring"
}
Get a list of fee lines items for a Quote
path Parameters
quoteId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "accountingCodeId": "stringstringstringstring"
}
]
Create a part line item on a Quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
itemId required | string = 24 characters Item id associated with this line item. |
quantity | number <double> >= 0 The line item quantity |
price | number <double> >= 0 The line item price. |
description | string or null [ 1 .. 2000 ] characters The part line item description. Defaults to the item's description if none specified. |
internalNotes | string or null [ 1 .. 2000 ] characters The line item internal notes |
itemNotes | string or null [ 1 .. 2000 ] characters The line item notes. |
isTaxable | boolean or null Dictate if this line item is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemCreateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
isPercentageDiscount | boolean or null Indicates whether FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemCreateDto.DiscountAmount discount is percentage based (else, it's an absolute amount). |
discountAmount | number or null <double> The amount of the discount. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "quantity": 0,
- "price": 0,
- "description": "string",
- "internalNotes": "string",
- "itemNotes": "string",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "accountingCodeId": "stringstringstringstring"
}
Response samples
- 200
{- "id": "string"
}
Create one or more part line items on a quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
required | Array of objects (QuotePartLineItemCreateDto) The line items to add to a sales order. | ||||||||||||||||||||||||||||
Array
|
Responses
Request samples
- Payload
{- "lineItems": [
- {
- "itemId": "stringstringstringstring",
- "quantity": 0,
- "price": 0,
- "description": "string",
- "internalNotes": "string",
- "itemNotes": "string",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "accountingCodeId": "stringstringstringstring"
}
]
}
Response samples
- 200
{- "ids": [
- "string"
]
}
Get a specific part line item for a Quote
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific part line item for a Quote
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
quantity | number <double> >= 0 The line item quantity |
price | number <double> >= 0 The line item price. |
description | string or null [ 1 .. 2000 ] characters The part line item description. Defaults to the item's description if none specified. |
internalNotes | string or null [ 1 .. 2000 ] characters The line item internal notes |
itemNotes | string or null [ 1 .. 2000 ] characters The line item notes. |
isTaxable | boolean or null Dictate if this line item is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
isPercentageDiscount | boolean or null Indicates whether FulcrumProduct.PublicApi.Dto.Quote.PartLineItem.QuotePartLineItemUpdateDto.DiscountAmount discount is percentage based (else, it's an absolute amount). |
discountAmount | number or null <double> The amount of the discount. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
Responses
Request samples
- Payload
{- "quantity": 0,
- "price": 0,
- "description": "string",
- "internalNotes": "string",
- "itemNotes": "string",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "accountingCodeId": "stringstringstringstring"
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of part lines items for a Quote
path Parameters
quoteId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Update (selectively) custom fields on a line item
path Parameters
quoteId required | string = 24 characters The quote identifier that contains the line item |
lineItemId required | string = 36 characters The line item identifier that contains the custom fields you want to update. |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on a line item
path Parameters
quoteId required | string = 24 characters The quote identifier that contains the line item |
lineItemId required | string = 36 characters The line item identifier that contains the custom fields you want to update. |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Create a full routing input item for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Response samples
- 200
{- "id": "string"
}
Gets a full routing input item for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
inputItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Update a full routing input item for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
inputItemId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Lists the full routing input items for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
List input materials for a quote part line item's routing
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "materialId": "string",
- "materialName": "string",
- "materialShape": {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}, - "costing": "fullCost",
- "nestings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
]
Creates a full routing operations for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
Request Body schema:
label required | string non-empty Label describing the in process tracking field |
description | string or null The description of the in process tracking field |
units | string or null The units used when this in process tracking field represents a number |
fieldTypeId required | string non-empty The id of the field type for this in process tracking field |
targetValue | number or null <double> The target or ideal value of an in process tracking field response |
minimumValue | number or null <double> The minimum acceptable value for a tracking field response |
maximumValue | number or null <double> The maximum acceptable value for a tracking field response |
triggeringBooleanValue | boolean or null The target value for booleans. Typically Yes/No for proceeding with next checkpoint |
triggeringDropdownValue | string or null The target value for multiple options |
required | boolean Whether the in process tracking field requires a response |
restricted | boolean If true, only users with the appropriate permission will be allowed to save a response. |
firstArticle | boolean Only applies to the During phase. If true (and Required), this field will prevent adding any completed items to inventory if target is not met. |
Responses
Request samples
- Payload
{- "label": "string",
- "description": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
Response samples
- 200
{- "id": "string"
}
Deletes a full routing operation in process tracking field for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
iptId required | string <uuid> |
Responses
Gets a full routing operation in process tracking field for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
iptId required | string <uuid> |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
Lists full routing operation in process tracking fields for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to in process tracking fields whose label contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
]
Get a summary of the make routing for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
[- {
- "itemLevel": "string",
- "itemId": "string",
- "itemName": "string",
- "routingId": "string",
- "path": "string"
}
]
Creates a full routing operation for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
Request Body schema:
systemOperationId required | string = 24 characters System Operation Id |
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
instructions | string or null [ 1 .. 2000 ] characters Operation instructions. Will default to the instructions defined on the operation when not provided. |
inputMaterialIds | Array of strings or null The ids on the input material to associate to this operation. This value should be the Id from the response from items/{itemId}/routing/input-materials/list |
Responses
Request samples
- Payload
{- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "instructions": "string",
- "inputMaterialIds": [
- "string"
]
}
Response samples
- 200
{- "id": "string"
}
Gets a full routing operation for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
Updates a full routing operation for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
Request Body schema:
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
Responses
Request samples
- Payload
{- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true
}
Gets a full routing operation item for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
operationItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
List full routing operation items for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
Lists full routing operations for a quote part line item
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to operations who's name contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
]
Create a tax line item on a Quote
path Parameters
quoteId required | string = 24 characters |
Request Body schema:
description | string or null [ 1 .. 2000 ] characters Verbose description for this entity. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. If FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemCreateDto.AvalaraOptions is provided, FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemCreateDto.TaxCodeId will be ignored. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemCreateDto.TaxRate will supercede the defined tax rate. |
object (DtoCommonAvalaraOptions) Options for use with Avalara (if enabled). |
Responses
Request samples
- Payload
{- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}
}
Response samples
- 200
{- "id": "string"
}
Get a specific tax line item for a Quote
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific tax line item for a Quote
path Parameters
quoteId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
description | string or null [ 1 .. 2000 ] characters Verbose description for this entity. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. If FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemUpdateDto.AvalaraOptions is provided, FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemUpdateDto.TaxCodeId will be ignored. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.Quote.TaxLineItem.QuoteTaxLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
object (DtoCommonAvalaraOptions) Options for use with Avalara (if enabled). |
Responses
Request samples
- Payload
{- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of tax lines items for a Quote
path Parameters
quoteId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Create a receipt for a specific purchase or sales order
Request Body schema:
orderType required | string (CommonEnumOrderType) Enum: "purchaseOrder" "salesOrder" Order type enum |
orderId required | string = 24 characters Id of parent order to which this receipt belongs |
required | Array of objects (ReceivingLineItemReceiptLineItemCreateDto) Line items |
Responses
Request samples
- Payload
{- "orderType": "purchaseOrder",
- "orderId": "stringstringstringstring",
- "lines": [
- {
- "lineItemId": "stringstringstringstringstringstring",
- "quantityReceived": 0,
- "lotNumber": "string",
- "locationId": "string",
- "expirationDate": "2019-08-24T14:15:22Z",
- "fullyReceived": true
}
]
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "receivedBy": "string",
- "number": 0,
- "date": "2019-08-24T14:15:22Z",
- "dateOriginal": "2019-08-24T14:15:22Z",
- "dateOverride": "2019-08-24T14:15:22Z",
- "orderType": "purchaseOrder",
- "orderId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "lines": [
- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
], - "customFields": {
- "property1": null,
- "property2": null
}, - "invoiceNumber": "string"
}
Get a specific receipt on a purchase or sales order
path Parameters
receiptId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "receivedBy": "string",
- "number": 0,
- "date": "2019-08-24T14:15:22Z",
- "dateOriginal": "2019-08-24T14:15:22Z",
- "dateOverride": "2019-08-24T14:15:22Z",
- "orderType": "purchaseOrder",
- "orderId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "lines": [
- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
], - "customFields": {
- "property1": null,
- "property2": null
}, - "invoiceNumber": "string"
}
Partially update a specific receipt for a purchase or sales order
path Parameters
receiptId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "receivedBy": "string",
- "number": 0,
- "date": "2019-08-24T14:15:22Z",
- "dateOriginal": "2019-08-24T14:15:22Z",
- "dateOverride": "2019-08-24T14:15:22Z",
- "orderType": "purchaseOrder",
- "orderId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "lines": [
- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
], - "customFields": {
- "property1": null,
- "property2": null
}, - "invoiceNumber": "string"
}
Update a specific receipt for a purchase or sales order
path Parameters
receiptId required | string = 36 characters |
Request Body schema:
receivedBy required | string = 24 characters Id of the user who received the item(s) |
date | string or null <date-time> Received date override. If not provided, receipt date will default to the date the object was initially created. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this receipt object. |
Responses
Request samples
- Payload
{- "receivedBy": "stringstringstringstring",
- "date": "2019-08-24T14:15:22Z",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "receivedBy": "string",
- "number": 0,
- "date": "2019-08-24T14:15:22Z",
- "dateOriginal": "2019-08-24T14:15:22Z",
- "dateOverride": "2019-08-24T14:15:22Z",
- "orderType": "purchaseOrder",
- "orderId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "lines": [
- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
], - "customFields": {
- "property1": null,
- "property2": null
}, - "invoiceNumber": "string"
}
Get a list of receipts for purchase and sales orders
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
salesOrderIds | Array of strings or null Include receipts for specific sales order ids |
purchaseOrderIds | Array of strings or null Include receipts for specific purchase order ids |
receiptIds | Array of strings or null Include receipts with specific ids |
includeReceiptLines | boolean If set to true, receipt line items will be included in the results |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. |
Responses
Request samples
- Payload
{- "salesOrderIds": [
- "string"
], - "purchaseOrderIds": [
- "string"
], - "receiptIds": [
- "string"
], - "includeReceiptLines": true,
- "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "receivedBy": "string",
- "number": 0,
- "date": "2019-08-24T14:15:22Z",
- "dateOriginal": "2019-08-24T14:15:22Z",
- "dateOverride": "2019-08-24T14:15:22Z",
- "orderType": "purchaseOrder",
- "orderId": "stringstringstringstring",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "lines": [
- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
], - "customFields": {
- "property1": null,
- "property2": null
}, - "invoiceNumber": "string"
}
]
Get a specific line item for a receipt on a purchase or sales order
path Parameters
receiptId required | string = 36 characters The receiving id |
lineId required | string [ 24 .. 36 ] characters This will match on the line item id (from the purchase order or sales order) or the line id of the specific receiving |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Partially update a specific receipt for a purchase or sales order
path Parameters
receiptId required | string = 36 characters |
lineId required | string [ 24 .. 36 ] characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Roll back a specific line item for a receipt on a purchase or sales order
path Parameters
receiptId required | string = 36 characters The receiving id |
lineId required | string [ 24 .. 36 ] characters This will match on the line item id (from the purchase order or sales order) or the line id of the specific receiving |
Responses
Update a specific receipt line item for a purchase or sales order receiving
path Parameters
receiptId required | string = 36 characters |
lineId required | string [ 24 .. 36 ] characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this receipt line item object. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
List line items for a receipt on a purchase or sales order
path Parameters
receiptId required | string = 36 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "stringstringstringstringstringstring",
- "fullyReceived": true,
- "rolledBack": true,
- "quantityReceived": 0,
- "unitOfMeasureMultiplier": 0,
- "convertedQuantityReceived": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
]
Find refund reason codes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Create a new draft sales order
Request Body schema:
customerId required | string = 24 characters The id of the customer to be created |
orderedDate | string or null <date-time> The ordered date of the sales order. If no supplied, will default to current UTC timestamp. |
customerPoNumber | string or null [ 1 .. 200 ] characters Optional customer supplied purchase order number |
object (CommonAddressCreateDto) Address with additional context | |
object (CommonAddressCreateDto) Address with additional context | |
object (CustomerContactCreateDto) A customer contact | |
object or null Arbitrary key-value-pair like data that can be used to later on search for the Sales Order | |
externalQuoteUrl | string or null A reference URL that points to an external quote entity. |
dueDate | string or null <date-time> The due date of the sales order. This indicates the expected date of completion. |
paymentTermsId | string or null = 24 characters Payment terms key identifier. Please reference /api/payment-terms endpoint. |
salesPersonId | string or null = 24 characters Sales Person identifier. Please reference /api/users endpoint. If not provided, the salesperson defined on the customer will be used. |
publicNote | string or null [ 1 .. 2000 ] characters Note to customer. This will appear on PDFs. |
priority | string (SalesOrderPriority) Enum: "low" "moderate" "high" Priority of the sales order |
companyId | string or null = 24 characters Company identifier. Please reference /api/companies endpoint. If not provided, the primary company will be used (if available). |
productionDueDate | string or null <date-time> The date that the production of items on the sales order needs to be completed by. |
shippingMethodId | string or null = 24 characters Shipping method identifier. Please reference /api/shipping-methods endpoint. |
object (CommonDepositCreateDto) Deposit creation. |
Responses
Request samples
- Payload
{- "customerId": "stringstringstringstring",
- "orderedDate": "2019-08-24T14:15:22Z",
- "customerPoNumber": "string",
- "shippingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}, - "contact": {
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "email": "[email protected]"
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "externalQuoteUrl": "string",
- "dueDate": "2019-08-24T14:15:22Z",
- "paymentTermsId": "stringstringstringstring",
- "salesPersonId": "stringstringstringstring",
- "publicNote": "string",
- "priority": "low",
- "companyId": "stringstringstringstring",
- "productionDueDate": "2019-08-24T14:15:22Z",
- "shippingMethodId": "stringstringstringstring",
- "deposit": {
- "depositType": "fixed",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring"
}
}
Response samples
- 200
{- "id": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "orderedDate": "2019-08-24T14:15:22Z",
- "customerPoNumber": "string",
- "externalQuoteUrl": "string",
- "customerId": "stringstringstringstring",
- "deliveryDueDate": "2019-08-24T14:15:22Z",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "discount": 0,
- "subtotal": 0,
- "salesPersonId": "stringstringstringstring",
- "publicNote": "string",
- "deleted": true,
- "companyId": "stringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "status": "draft",
- "priority": "low",
- "deposit": {
- "depositType": "fixed",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring",
- "amountInvoiced": 0
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
Partially update an SalesOrder
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "orderedDate": "2019-08-24T14:15:22Z",
- "customerPoNumber": "string",
- "externalQuoteUrl": "string",
- "customerId": "stringstringstringstring",
- "deliveryDueDate": "2019-08-24T14:15:22Z",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "discount": 0,
- "subtotal": 0,
- "salesPersonId": "stringstringstringstring",
- "publicNote": "string",
- "deleted": true,
- "companyId": "stringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "status": "draft",
- "priority": "low",
- "deposit": {
- "depositType": "fixed",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring",
- "amountInvoiced": 0
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
Update a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
customerPoNumber | string or null [ 1 .. 200 ] characters CustomerPoNumber |
priority | string (SalesOrderPriority) Enum: "low" "moderate" "high" Priority of the sales order |
deliveryDueDate | string or null <date-time> The date the SO needs to be delivered to the customer. Note: this does not affect individual line update delivery dates. |
publicNote | string or null [ 1 .. 2000 ] characters Note to customer. This will appear on PDFs. |
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customerPoNumber": "string",
- "priority": "low",
- "deliveryDueDate": "2019-08-24T14:15:22Z",
- "publicNote": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "orderedDate": "2019-08-24T14:15:22Z",
- "customerPoNumber": "string",
- "externalQuoteUrl": "string",
- "customerId": "stringstringstringstring",
- "deliveryDueDate": "2019-08-24T14:15:22Z",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "discount": 0,
- "subtotal": 0,
- "salesPersonId": "stringstringstringstring",
- "publicNote": "string",
- "deleted": true,
- "companyId": "stringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "status": "draft",
- "priority": "low",
- "deposit": {
- "depositType": "fixed",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring",
- "amountInvoiced": 0
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
Find sales orders based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
numbers | Array of integers or null <int32> [ 1 .. 500 ] items Filter sales orders to only given numbers |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. | |
status | string (SalesOrderStatus) Enum: "draft" "needsApproval" "approved" "inProgress" "complete" Sales order status |
externalQuoteUrls | Array of strings or null Filter sales orders to those matching an external quote URL. |
createdFromQuoteId | string or null Filter sales orders created from the specific quote |
Responses
Request samples
- Payload
{- "numbers": [
- 0
], - "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}, - "status": "draft",
- "externalQuoteUrls": [
- "string"
], - "createdFromQuoteId": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": 0,
- "orderedDate": "2019-08-24T14:15:22Z",
- "customerPoNumber": "string",
- "externalQuoteUrl": "string",
- "customerId": "stringstringstringstring",
- "deliveryDueDate": "2019-08-24T14:15:22Z",
- "billingAddress": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "discount": 0,
- "subtotal": 0,
- "salesPersonId": "stringstringstringstring",
- "publicNote": "string",
- "deleted": true,
- "companyId": "stringstringstringstring",
- "createdUtc": "2019-08-24T14:15:22Z",
- "status": "draft",
- "priority": "low",
- "deposit": {
- "depositType": "fixed",
- "amount": 0,
- "accountingCodeId": "stringstringstringstring",
- "amountInvoiced": 0
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}
}
]
Get a list of blanket lines items for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "children": [
- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
}
]
Partially update a specific blanket line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "children": [
- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
}
Update a specific blanket line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |||||||||||||||||
|
Responses
Request samples
- Payload
{- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "children": [
- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
}
Get a specific blanket line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}, - "children": [
- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
}
Update (selectively) custom fields on a sales order
path Parameters
id required | string = 24 characters The sales order identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on a sales order
path Parameters
id required | string = 24 characters The sales order identifier |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Get the discount line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "absoluteAmount": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update the discount line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
name required | string [ 1 .. 200 ] characters The name of the discount line. |
description | string or null [ 1 .. 200 ] characters The description of the discount line. |
isPercentage required | boolean Indicates whether "Amount" value is percentage based or an absolute amount. |
amount required | number <double> >= 0 The amount of the discount. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "isPercentage": true,
- "amount": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "absoluteAmount": 0,
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a specific fee line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific fee line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific fee line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Verbose name for this entity. |
description | string or null [ 1 .. 200 ] characters Verbose description for this entity. |
quantity | number or null <double> >= 0 The line item quantity |
price required | number <double> >= 0 The line item price. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
isTaxable | boolean or null Dictate if this fee is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. |
taxRate | number or null <double> >= 0 Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.FeeLineItem.FeeLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.FeeLineItem.FeeLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Create a fee line item on a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Verbose name for this entity. |
description | string or null [ 1 .. 200 ] characters Verbose description for this entity. If this value is not provided and the name matches a defined "default fee", the description on the "default fee" will be used. |
quantity | number or null <double> >= 0 The line item quantity |
price required | number <double> >= 0 The line item price. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. If this value is not provided and the name matches a defined "default fee", the accounting code on the "default fee" will be used. |
isTaxable | boolean or null Dictate if this fee is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. |
taxRate | number or null <double> >= 0 Tax code to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.FeeLineItem.FeeLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.FeeLineItem.FeeLineItemCreateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
Get a list of fee lines items for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "quantity": 0,
- "price": 0,
- "unitOfMeasure": "notApplicable",
- "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Get a specific line item for a sales order of generic type
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "lineItemId": "string",
- "type": "part",
- "price": 0,
- "discountedPrice": 0,
- "name": "string",
- "description": "string",
- "quantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of lines items for a sales order, regardless of type
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "lineItemId": "string",
- "type": "part",
- "price": 0,
- "discountedPrice": 0,
- "name": "string",
- "description": "string",
- "quantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "accountingCodeId": "stringstringstringstring",
- "isTaxable": true,
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Create a part line item on a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
itemId required | string = 24 characters Item id associated with this line item. |
quantity | number <double> >= 0 The line item quantity |
price | number or null <double> >= 0 The line item price. Note, if a price break exists for the item being added (vendor price breaks, item price breaks, etc), this value will be ignored as it is quantity-driven based on the price breaks that do/will exist. If this value is not provided and no price breaks exist, the default will be 0. |
isTaxable | boolean or null Dictate if this line item is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.PartLineItem.PartLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.PartLineItem.PartLineItemCreateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
description | string or null [ 1 .. 2000 ] characters The part line item description. Defaults to the item's description if none specified. |
internalNotes | string or null [ 1 .. 2000 ] characters The line item internal notes |
itemNotes | string or null [ 1 .. 2000 ] characters The line item notes (visible in job tracking). |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
isPercentageDiscount | boolean or null Indicates whether FulcrumProduct.PublicApi.Dto.SalesOrder.PartLineItem.PartLineItemCreateDto.DiscountAmount discount is percentage based (else, it's an absolute amount). |
discountAmount | number or null <double> The amount of the discount. |
Array of objects or null (CommonUrlDto) A list of links/urls to associated with the line item. | |
deliveryDate | string or null <date-time> The delivery date for the line item |
unitOfMeasureName | string or null The unit of measure to apply. If left blank, the default unit of measure for the item will be applied. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. If this value is not provided and the name matches a defined "default fee", the accounting code on the "default fee" will be used. |
isCustomerItem | boolean or null Determines whether or not to display the customer part number and customer part description. |
customerPartNumber | string or null Used for the part number on customer facing documents when IsCustomerItem is true |
customerPartDescription | string or null [ 1 .. 2000 ] characters Used for the description on customer facing documents when IsCustomerItem is true |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "quantity": 0,
- "price": 0,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "description": "string",
- "internalNotes": "string",
- "itemNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "unitOfMeasureName": "string",
- "accountingCodeId": "stringstringstringstring",
- "isCustomerItem": true,
- "customerPartNumber": "string",
- "customerPartDescription": "string"
}
Response samples
- 200
{- "id": "string"
}
Create one or more part line items on a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
required | Array of objects (SalesOrderPartLineItemCreateDto) The line items to add to a sales order. | ||||||||||||||||||||||||||||||||||||||||
Array
|
Responses
Request samples
- Payload
{- "lineItems": [
- {
- "itemId": "stringstringstringstring",
- "quantity": 0,
- "price": 0,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "description": "string",
- "internalNotes": "string",
- "itemNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "unitOfMeasureName": "string",
- "accountingCodeId": "stringstringstringstring",
- "isCustomerItem": true,
- "customerPartNumber": "string",
- "customerPartDescription": "string"
}
]
}
Response samples
- 200
{- "ids": [
- "string"
]
}
Get a specific part line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Partially update a specific part line item for an salesOrder
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific part line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
quantity | number <double> >= 0 The line item quantity |
price | number or null <double> >= 0 The line item price. Note, if a price break exists for the item being added (vendor price breaks, item price breaks, etc), this value will be ignored as it is quantity-driven based on the price breaks that do/will exist. If this value is not provided and no price breaks exist, the default will be 0. |
isTaxable | boolean or null Dictate if this line item is taxable. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.PartLineItem.PartLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.PartLineItem.PartLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
overrideTaxRate | boolean or null Indicate if the tax supplied is intended to be an override. |
description | string or null [ 1 .. 2000 ] characters The part line item description. Defaults to the item's description if none specified. |
internalNotes | string or null [ 1 .. 2000 ] characters The line item internal notes. Aka production notes. |
itemNotes | string or null [ 1 .. 2000 ] characters The line item notes (visible in job tracking). |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. | |
isPercentageDiscount | boolean or null Indicates whether FulcrumProduct.PublicApi.Dto.SalesOrder.PartLineItem.PartLineItemUpdateDto.DiscountAmount discount is percentage based (else, it's an absolute amount). |
discountAmount | number or null <double> The amount of the discount. |
Array of objects or null (CommonUrlDto) List of links associated with the line item. | |
deliveryDate | string or null <date-time> The Delivery Date for the line item. |
unitOfMeasureName | string or null The unit of measure to apply. If left blank, the existing unit of measure on the line item will be retained. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. If this value is not provided and the name matches a defined "default fee", the accounting code on the "default fee" will be used. |
isCustomerItem | boolean or null Determines whether or not to display the customer part number and customer part description. |
customerPartNumber | string or null Used for the part number on customer facing documents when IsCustomerItem is true |
customerPartDescription | string or null [ 1 .. 2000 ] characters Used for the description on customer facing documents when IsCustomerItem is true |
Responses
Request samples
- Payload
{- "quantity": 0,
- "price": 0,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "overrideTaxRate": true,
- "description": "string",
- "internalNotes": "string",
- "itemNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "deliveryDate": "2019-08-24T14:15:22Z",
- "unitOfMeasureName": "string",
- "accountingCodeId": "stringstringstringstring",
- "isCustomerItem": true,
- "customerPartNumber": "string",
- "customerPartDescription": "string"
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of part lines items for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "quantity": 0,
- "price": 0,
- "discountedPrice": 0,
- "dueDate": "2019-08-24T14:15:22Z",
- "isTaxable": true,
- "overrideTaxRate": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "itemId": "stringstringstringstring",
- "description": "string",
- "accountingCodeId": "stringstringstringstring",
- "internalNotes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "isPercentageDiscount": true,
- "discountAmount": 0,
- "customFields": {
- "property1": null,
- "property2": null
}, - "parentLineId": "stringstringstringstringstringstring",
- "subTotal": 0,
- "preDiscountSubTotal": 0,
- "customerPartNumber": "string",
- "customerPartDescription": "string",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Update (selectively) custom fields on a line item
path Parameters
salesOrderId required | string = 24 characters The sales order identifier that contains the line item |
lineItemId required | string = 36 characters The line item identifier that contains the custom fields you want to update. |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Update (selectively) custom fields on a line item
path Parameters
salesOrderId required | string = 24 characters The sales order identifier that contains the line item |
lineItemId required | string = 36 characters The line item identifier that contains the custom fields you want to update. |
Request Body schema:
The custom fields to update
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Create a full routing input item for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Response samples
- 200
{- "id": "string"
}
Gets a full routing input item for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
inputItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Update a full routing input item for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
inputItemId required | string = 36 characters |
Request Body schema:
itemId required | string = 24 characters The item id to be added. Please reference /api/items endpoint. |
valueTypeUnits required | number <double> Measurement unit depending on FulcrumProduct.PublicApi.Dto.Item.Routing.InputItemCreateDto.ValueType |
valueType required | string (CommonEnumInputItemValueTypeEnum) Enum: "creates" "requires" Specifies how a routing input item quantity is measured. |
Responses
Request samples
- Payload
{- "itemId": "stringstringstringstring",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
Lists the full routing input items for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
List input materials for a sales order part line item's routing
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "materialId": "string",
- "materialName": "string",
- "materialShape": {
- "id": "string",
- "active": true,
- "name": "string",
- "form": "sheet",
- "materialReferenceId": "string",
- "materialReferenceName": "string",
- "specification": "string",
- "subSpecification": "string",
- "finish": "string",
- "grade": "string",
- "dimension": "string",
- "density": 0,
- "type": "string",
- "version": "string",
- "vendors": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "vendorId": "stringstringstringstring",
- "isPrimary": true,
- "currencyCode": "string",
- "priceUnit": "kilogram",
- "leadTimeInDays": 0,
- "priceBreaks": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "quantity": 0,
- "price": 0
}
]
}
], - "modifications": {
- "property1": "string",
- "property2": "string"
}, - "temper": "string"
}, - "costing": "fullCost",
- "nestings": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "d2": 0,
- "d3": 0,
- "produces": 0,
- "useForEstimatedCosting": true
}
], - "routingStepId": "stringstringstringstringstringstring"
}
]
Creates a full routing operation in process tracking fields for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
Request Body schema:
label required | string non-empty Label describing the in process tracking field |
description | string or null The description of the in process tracking field |
units | string or null The units used when this in process tracking field represents a number |
fieldTypeId required | string non-empty The id of the field type for this in process tracking field |
targetValue | number or null <double> The target or ideal value of an in process tracking field response |
minimumValue | number or null <double> The minimum acceptable value for a tracking field response |
maximumValue | number or null <double> The maximum acceptable value for a tracking field response |
triggeringBooleanValue | boolean or null The target value for booleans. Typically Yes/No for proceeding with next checkpoint |
triggeringDropdownValue | string or null The target value for multiple options |
required | boolean Whether the in process tracking field requires a response |
restricted | boolean If true, only users with the appropriate permission will be allowed to save a response. |
firstArticle | boolean Only applies to the During phase. If true (and Required), this field will prevent adding any completed items to inventory if target is not met. |
Responses
Request samples
- Payload
{- "label": "string",
- "description": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
Response samples
- 200
{- "id": "string"
}
Deletes a full routing operation in process tracking field for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
iptId required | string <uuid> |
Responses
Gets a full routing operation in process tracking field for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
iptId required | string <uuid> |
Responses
Response samples
- 200
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
Lists full routing operation in process tracking fields for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
phase required | string (DomainInProcessTrackingFieldCheckpointPhase) Enum: "preOperation" "duringOperation" "postOperation" |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to in process tracking fields whose label contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "label": "string",
- "units": "string",
- "fieldTypeId": "string",
- "targetValue": 0,
- "minimumValue": 0,
- "maximumValue": 0,
- "triggeringBooleanValue": true,
- "triggeringDropdownValue": "string",
- "required": true,
- "restricted": true,
- "firstArticle": true
}
]
Get a summary of the make routing for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
[- {
- "itemLevel": "string",
- "itemId": "string",
- "itemName": "string",
- "routingId": "string",
- "path": "string"
}
]
Creates a full routing operation for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
Request Body schema:
systemOperationId required | string = 24 characters System Operation Id |
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
instructions | string or null [ 1 .. 2000 ] characters Operation instructions. Will default to the instructions defined on the operation when not provided. |
inputMaterialIds | Array of strings or null The ids on the input material to associate to this operation. This value should be the Id from the response from items/{itemId}/routing/input-materials/list |
Responses
Request samples
- Payload
{- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "instructions": "string",
- "inputMaterialIds": [
- "string"
]
}
Response samples
- 200
{- "id": "string"
}
Gets a full routing operation for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
Updates a full routing operation for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
Request Body schema:
order | integer or null <int32> >= 0 The order of this operation. Operations with the same order are expected to run in parallel |
object (ItemRoutingOutsideProcessingOperationDto) Defines outside processing fields | |
object (ItemRoutingNormalOperationDto) Defines non-outside-processing fields | |
leadDays | integer or null <int32> >= 0 Lead days. Will default to zero if not provided. |
unattended | boolean or null If |
Responses
Request samples
- Payload
{- "order": 0,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true
}
Gets a full routing operation item for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
operationItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
List full routing operation items for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
operationId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
number | string or null [ 1 .. 200 ] characters Filter to items who's number contains the given string |
Responses
Request samples
- Payload
{- "number": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "itemId": "stringstringstringstring",
- "number": "string",
- "revision": "string",
- "description": "string",
- "valueTypeUnits": 0,
- "valueType": "creates"
}
]
Lists full routing operations for a sales order part line item
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
routingId required | string = 36 characters |
query Parameters
skip | integer <int32> >= 0 Default: 0 |
take | integer <int32> [ 0 .. 5000 ] Default: 50 |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to operations who's name contains the given string |
Responses
Request samples
- Payload
{- "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "name": "string",
- "systemOperationId": "stringstringstringstring",
- "order": 0,
- "isOutsideProcessing": true,
- "outsideProcessingOperation": {
- "outsideProcessingTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "selectedVendorId": "string"
}, - "operation": {
- "setupTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "laborTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "machineTime": {
- "time": 0,
- "option": "fixedSeconds"
}, - "anyEquipment": true,
- "selectedEquipmentIds": [
- "string"
]
}, - "leadDays": 0,
- "unattended": true,
- "machineTrackingEnabled": true
}
]
Create a refund line item on a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
description | string or null [ 1 .. 2000 ] characters The refund line item description. Defaults to the item's description if none specified. |
refundedLineId required | string = 36 characters The related, original line id that was refunded. |
refundQuantity required | number <double> >= 0 The quantity to be refunded. |
refundAmount required | number <double> >= 0 The refund amount. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
refundReasonCodeId | string or null = 24 characters Refund reason code key identifier. Please reference /api/refund-reason-codes endpoint. |
isReturn | boolean or null Indicate if a return is expected. |
returnQuantity | number or null <double> The quantity to be returned. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "description": "string",
- "refundedLineId": "stringstringstringstringstringstring",
- "refundQuantity": 0,
- "refundAmount": 0,
- "accountingCodeId": "stringstringstringstring",
- "refundReasonCodeId": "stringstringstringstring",
- "isReturn": true,
- "returnQuantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
Get a list of refund lines items for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "refundedLineId": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "refundQuantity": 0,
- "refundAmount": 0,
- "accountingCodeId": "stringstringstringstring",
- "refundReasonCodeId": "stringstringstringstring",
- "isReturn": true,
- "returnQuantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Update a specific refund line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
description | string or null [ 1 .. 2000 ] characters The refund line item description. |
refundQuantity required | number <double> >= 0 The quantity to be refunded. |
refundAmount required | number <double> >= 0 The refund amount. |
accountingCodeId | string or null = 24 characters Accounting code key identifier. Please reference /api/accounting-codes endpoint. |
refundReasonCodeId | string or null = 24 characters Refund reason code key identifier. Please reference /api/refund-reason-codes endpoint. |
isReturn | boolean or null Indicate if a return is expected. |
returnQuantity | number or null <double> >= 0 The quantity to be returned. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "description": "string",
- "refundQuantity": 0,
- "refundAmount": 0,
- "accountingCodeId": "stringstringstringstring",
- "refundReasonCodeId": "stringstringstringstring",
- "isReturn": true,
- "returnQuantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "refundedLineId": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "refundQuantity": 0,
- "refundAmount": 0,
- "accountingCodeId": "stringstringstringstring",
- "refundReasonCodeId": "stringstringstringstring",
- "isReturn": true,
- "returnQuantity": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a specific line item for a sales order of generic type
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "name": "string",
- "description": "string",
- "amount": 0,
- "overrideTaxRate": true,
- "isTaxable": true,
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "salesOrderLineItemId": "stringstringstringstringstringstring",
- "number": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Create a tax line item on a sales order
path Parameters
salesOrderId required | string = 24 characters |
Request Body schema:
description | string or null [ 1 .. 200 ] characters Verbose description for this entity. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. If FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.AvalaraOptions is provided, FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.TaxCodeId will be ignored. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemCreateDto.TaxRate will supercede the defined tax rate. |
object (SalesOrderTaxLineItemAvalaraOptions) Options for use with Avalara (if enabled). | |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
Get a specific tax line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Update a specific tax line item for a sales order
path Parameters
salesOrderId required | string = 24 characters |
lineItemId required | string = 36 characters |
Request Body schema:
description | string or null [ 1 .. 200 ] characters Verbose description for this entity. |
taxCodeId | string or null = 24 characters Tax code key identifier. Please reference /api/tax-rates endpoint. If FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemUpdateDto.AvalaraOptions is provided, FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemUpdateDto.TaxCodeId will be ignored. |
taxRate | number or null <double> >= 0 Tax rate to use for this entity. If a FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemUpdateDto.TaxCodeId is provided, the provided FulcrumProduct.PublicApi.Dto.SalesOrder.TaxLineItem.TaxLineItemUpdateDto.TaxRate will supercede the defined tax rate. |
object (SalesOrderTaxLineItemAvalaraOptions) Options for use with Avalara (if enabled). | |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
Get a list of tax lines items for a sales order
path Parameters
salesOrderId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "description": "string",
- "taxCodeId": "stringstringstringstring",
- "taxRate": 0,
- "avalaraOptions": {
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "price": 0,
- "accountingDetails": {
- "classId": "stringstringstringstring",
- "incomeAccountId": "stringstringstringstring",
- "assetAccountId": "stringstringstringstring",
- "expenseAccountId": "stringstringstringstring",
- "cogsAccountId": "stringstringstringstring"
}
}
]
Find shape codes based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Search for shipment line items based on parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
The search parameters
packingStatus | string (ShippingDataPackingStatus) Enum: "notPacked" "partiallyPacked" "fullyPacked" "overPacked" |
itemId | string or null Filter shipment line items based on item identifier. |
shipmentId | string or null Filter shipment line items based on shipment identifier. |
salesOrderLineItemIds | Array of strings or null Filter shipment line items based on sales order line item(s) identifier. |
purchaseOrderLineItemIds | Array of strings or null Filter shipment line items based on purchase order line item identifier. |
shipmentIds | Array of strings or null Filter shipment line items based on shipment identifiers. |
shipmentType | string (ShippingDataShipmentType) Enum: "unknown" "standard" "outsideProcessing" |
Responses
Request samples
- Payload
{- "packingStatus": "notPacked",
- "itemId": "string",
- "shipmentId": "string",
- "salesOrderLineItemIds": [
- "string"
], - "purchaseOrderLineItemIds": [
- "string"
], - "shipmentIds": [
- "string"
], - "shipmentType": "unknown"
}
Response samples
- 200
{- "data": [
- {
- "id": "stringstringstringstring",
- "packingStatus": "notPacked",
- "shipmentType": "unknown",
- "quantityToShip": 0,
- "shipmentName": "string",
- "quantityInvoiced": 0,
- "quantityPacked": 0,
- "itemId": "stringstringstringstring",
- "shipmentId": "stringstringstringstring",
- "salesOrderId": "stringstringstringstring",
- "salesOrderLineItemId": "stringstringstringstringstringstring",
- "purchaseOrderId": "stringstringstringstring",
- "purchaseOrderLineItemId": "stringstringstringstringstringstring",
- "quantityShipped": 0,
- "shippedFromLocations": [
- "string"
], - "shippedFromLots": [
- "string"
], - "packingDetails": [
- {
- "lotId": "stringstringstringstring",
- "lotName": "string",
- "locationId": "stringstringstringstring",
- "locationName": "string",
- "quantityPacked": 0
}
]
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Updates custom fields on a shipment
path Parameters
id required | string = 24 characters The shipment identifier |
Request Body schema:
The custom fields
object The custom fields | |||
|
Responses
Request samples
- Payload
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Response samples
- 200
{- "customFields": {
- "property1": null,
- "property2": null
}
}
Finds shipments based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
shipmentStatus | string (ShippingDataShipmentStatus) Enum: "pending" "open" "shipped" "cancelled" |
packingStatus | string (ShippingDataPackingStatus) Enum: "notPacked" "partiallyPacked" "fullyPacked" "overPacked" |
salesOrderId | string or null Filter shipments by sales order identifier |
purchaseOrderId | string or null Filter shipments by purchase order identifier |
shipmentType | string (ShippingDataShipmentType) Enum: "unknown" "standard" "outsideProcessing" |
shipmentIds | Array of strings Filter shipments by shipment identifiers. |
Responses
Request samples
- Payload
{- "shipmentStatus": "pending",
- "packingStatus": "notPacked",
- "salesOrderId": "string",
- "purchaseOrderId": "string",
- "shipmentType": "unknown",
- "shipmentIds": [
- "string"
]
}
Response samples
- 200
{- "data": [
- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "status": "pending",
- "packingStatus": "notPacked",
- "trackingNumber": "string",
- "shipByDate": "2019-08-24T14:15:22Z",
- "shippedDate": "2019-08-24T14:15:22Z",
- "shippedDateOverride": "2019-08-24T14:15:22Z",
- "notes": "string",
- "displayNotesToCustomer": true,
- "shippingMethod": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "shippingAccount": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "shippingCost": 0,
- "shippingCharge": 0,
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Partially update a Shipment
path Parameters
shipmentId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "status": "pending",
- "packingStatus": "notPacked",
- "trackingNumber": "string",
- "shipByDate": "2019-08-24T14:15:22Z",
- "shippedDate": "2019-08-24T14:15:22Z",
- "shippedDateOverride": "2019-08-24T14:15:22Z",
- "notes": "string",
- "displayNotesToCustomer": true,
- "shippingMethod": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "shippingAccount": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "shippingCost": 0,
- "shippingCharge": 0,
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Update a specific shipment
path Parameters
shipmentId required | string = 24 characters |
Request Body schema:
shipByDate | string or null <date-time> Ship by date. |
notes | string or null [ 1 .. 2000 ] characters Shipment notes. |
displayNotesToCustomer | boolean Whether or not to display the shipment notes on the pack list. |
trackingNumber | string or null The tracking number for the shipment. |
shippingMethodId | string or null The shipping method identifier |
shippedDate | string or null <date-time> The shipped date |
shippedDateOverride | string or null <date-time> The override of the shipped date (used for changing the date of a shipment after it's been created) |
shippingCost | number or null <double> The shipment's cost |
Responses
Request samples
- Payload
{- "shipByDate": "2019-08-24T14:15:22Z",
- "notes": "string",
- "displayNotesToCustomer": true,
- "trackingNumber": "string",
- "shippingMethodId": "string",
- "shippedDate": "2019-08-24T14:15:22Z",
- "shippedDateOverride": "2019-08-24T14:15:22Z",
- "shippingCost": 0
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "status": "pending",
- "packingStatus": "notPacked",
- "trackingNumber": "string",
- "shipByDate": "2019-08-24T14:15:22Z",
- "shippedDate": "2019-08-24T14:15:22Z",
- "shippedDateOverride": "2019-08-24T14:15:22Z",
- "notes": "string",
- "displayNotesToCustomer": true,
- "shippingMethod": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "shippingAccount": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "shippingCost": 0,
- "shippingCharge": 0,
- "address": {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "phone": "string",
- "email": "[email protected]"
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Find shipping methods based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter shipping methods based on their name. |
ids | Array of strings or null Filter shipping methods based on matching ids. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string"
}
]
Find tags based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter tags based on their name. |
ids | Array of strings or null Filter tags based on matching ids. |
types | Array of strings or null (CommonEnumTagTypeEnum) Enum: "item" "accountingCode" "itemCategory" "itemShape" "itemMaterial" "itemGrade" "itemGauge" "itemShippingContainer" "itemClass" "breakReasonCode" "refundReasonCode" "vendorOrderIssueCode" "chartOfAccounts" Filter tags based on matching types. |
Responses
Request samples
- Payload
{- "name": "string",
- "ids": [
- "string"
], - "types": [
- "item"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
]
Create a tag
Request Body schema:
name required | string [ 1 .. 200 ] characters Descriptive name associated to the object |
style required | string (CommonEnumStyleEnum) Enum: "primary" "secondary" "success" "danger" "warning" "info" "light" "dark" "connected" Style enum (for tags). |
description | string or null [ 1 .. 200 ] characters Descriptive name associated to the object |
types required | Array of strings (CommonEnumTagTypeEnum) non-empty Items Enum: "item" "accountingCode" "itemCategory" "itemShape" "itemMaterial" "itemGrade" "itemGauge" "itemShippingContainer" "itemClass" "breakReasonCode" "refundReasonCode" "vendorOrderIssueCode" "chartOfAccounts" The type(s) of this tag. |
Responses
Request samples
- Payload
{- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
]
}
Response samples
- 200
{- "id": "string"
}
Patch a tag
path Parameters
tagId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
Update a tag
path Parameters
tagId required | string = 24 characters |
Request Body schema:
name required | string [ 1 .. 200 ] characters Descriptive name associated to the object |
style required | string (CommonEnumStyleEnum) Enum: "primary" "secondary" "success" "danger" "warning" "info" "light" "dark" "connected" Style enum (for tags). |
description | string or null [ 1 .. 200 ] characters Descriptive name associated to the object |
types required | Array of strings (CommonEnumTagTypeEnum) non-empty Items Enum: "item" "accountingCode" "itemCategory" "itemShape" "itemMaterial" "itemGrade" "itemGauge" "itemShippingContainer" "itemClass" "breakReasonCode" "refundReasonCode" "vendorOrderIssueCode" "chartOfAccounts" The type(s) of this tag. |
Responses
Request samples
- Payload
{- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
]
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "style": "primary",
- "description": "string",
- "types": [
- "item"
], - "deleted": true
}
Find tax rates based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
code | string or null [ 1 .. 200 ] characters Filter tax rates based on their code. |
ids | Array of strings or null Filter tax rates based on matching ids. |
Responses
Request samples
- Payload
{- "code": "string",
- "ids": [
- "string"
]
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "code": "string",
- "provider": "avalaraOrder",
- "rate": 0
}
]
Finds daily time clocks based on search parameters
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
The search parameters
userId | string or null Filter timers based on who started it |
object (DtoCommonDateRangeFilter) Date range used for filters | |
object (DtoCommonDateRangeFilter) Date range used for filters | |
runningTimersOnly | boolean or null Filter to only open timers |
Responses
Request samples
- Payload
{- "userId": "string",
- "startedDateRange": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "stoppedDateRange": {
- "start": "2019-08-24T14:15:22Z",
- "end": "2019-08-24T14:15:22Z"
}, - "runningTimersOnly": true
}
Response samples
- 200
{- "data": [
- {
- "id": "string",
- "startedById": "string",
- "startedOnUtc": "2019-08-24T14:15:22Z",
- "stoppedOnUtc": "2019-08-24T14:15:22Z",
- "type": "setup",
- "isRunning": true,
- "reasonCodeId": "string",
- "clockInCodeId": "string"
}
], - "page": 0,
- "pageSize": 0,
- "totalCount": 0,
- "totalPages": 0,
- "hasPreviousPage": true,
- "hasNextPage": true
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "employeeId": "string",
- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "roles": [
- "string"
], - "deleted": true
}
Find users based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
firstName | string or null [ 1 .. 200 ] characters Filter users based on their first name. |
lastName | string or null [ 1 .. 200 ] characters Filter users based on their last name. |
emailAddress | string or null Email address |
phoneNumber | string or null Phone number |
roles | Array of strings or null Filter users to those with any of the provided roles. |
omniSearch | string or null Search for users based on a string that should match any of the user's first name, last name, email address, phone number or roles. |
Responses
Request samples
- Payload
{- "firstName": "string",
- "lastName": "string",
- "emailAddress": "string",
- "phoneNumber": "string",
- "roles": [
- "string"
], - "omniSearch": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "firstName": "string",
- "lastName": "string",
- "phoneNumber": "string",
- "roleIds": [
- {
- "id": "stringstringstringstring",
- "name": "string"
}
], - "deleted": true
}
]
Gets a status object for a user that displays various timer metrics (jobs/ops clocked into, whether on break, etc)
path Parameters
userId required | string = 24 characters The user identifier |
Responses
Response samples
- 200
{- "firstName": "string",
- "lastName": "string",
- "isOnBreak": true,
- "breakStartAtUtc": "2019-08-24T14:15:22Z",
- "elapsedBreakTimeInSeconds": 0,
- "isClockedIn": true,
- "clockedInAtUtc": "2019-08-24T14:15:22Z",
- "elapsedClockedInTimeInSeconds": 0,
- "jobs": [
- {
- "jobId": "string",
- "jobName": "string",
- "operationId": "string",
- "operationName": "string",
- "elapsedTimeInSeconds": 0,
- "estimatedTimeToCompleteInSeconds": 0
}
]
}
Gets a list of user status objects based on parameters
Request Body schema:
The filter parameters
userIds | Array of strings The user identifiers |
Responses
Request samples
- Payload
{- "userIds": [
- "string"
]
}
Response samples
- 200
[- {
- "firstName": "string",
- "lastName": "string",
- "isOnBreak": true,
- "breakStartAtUtc": "2019-08-24T14:15:22Z",
- "elapsedBreakTimeInSeconds": 0,
- "isClockedIn": true,
- "clockedInAtUtc": "2019-08-24T14:15:22Z",
- "elapsedClockedInTimeInSeconds": 0,
- "jobs": [
- {
- "jobId": "string",
- "jobName": "string",
- "operationId": "string",
- "operationName": "string",
- "elapsedTimeInSeconds": 0,
- "estimatedTimeToCompleteInSeconds": 0
}
]
}
]
Create a new vendor
Request Body schema:
name required | string [ 1 .. 200 ] characters The name to give the entity. Must be unique to all active vendors. |
paymentTermsId | string or null = 24 characters Payment terms key identifier. Please reference /api/payment-terms endpoint. |
vendorCode | string or null non-empty Unique identifier for this vendor. |
notes | string or null [ 1 .. 2000 ] characters General notes associated to this vendor |
currencyCode | string or null The currency of the vendor |
object or null Arbitrary key-value-pair like data that can be used to later on search for the vendor |
Responses
Request samples
- Payload
{- "name": "string",
- "paymentTermsId": "stringstringstringstring",
- "vendorCode": "string",
- "notes": "string",
- "currencyCode": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "string"
}
Partially update a vendor
path Parameters
vendorId required | string = 24 characters |
Request Body schema: application/json-patch+json
op | string |
value | string |
path | string |
Responses
Request samples
- Payload
[- {
- "op": "string",
- "value": "string",
- "path": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "vendorCode": "string",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "currencyCode": "string"
}
Update a specific vendor
path Parameters
vendorId required | string = 24 characters |
Request Body schema:
name required | string [ 1 .. 200 ] characters The name to give the entity. Must be unique to all active vendors. |
paymentTermsId | string or null = 24 characters Payment terms key identifier. Please reference /api/payment-terms endpoint. |
vendorCode | string or null non-empty Unique identifier for this vendor. |
object or null Arbitrary key-value-pair like data that can be used to later on search for this line item. |
Responses
Request samples
- Payload
{- "name": "string",
- "paymentTermsId": "stringstringstringstring",
- "vendorCode": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "vendorCode": "string",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "currencyCode": "string"
}
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "vendorCode": "string",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "currencyCode": "string"
}
Find vendors based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Filter to vendors who's name contains the given string |
vendorCode | string or null non-empty Unique identifier for this vendor. |
object (CommonExternalReferenceFindDto) Search parameter for identifier record(s) via their external identifiers. |
Responses
Request samples
- Payload
{- "name": "string",
- "vendorCode": "string",
- "externalReference": {
- "key": "string",
- "type": "string",
- "externalId": "string"
}
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "vendorCode": "string",
- "paymentTermsId": "stringstringstringstring",
- "paymentTerms": {
- "id": "stringstringstringstring",
- "name": "string"
}, - "notes": "string",
- "externalReferences": {
- "property1": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}, - "property2": {
- "type": "string",
- "externalId": "string",
- "displayId": "string",
- "status": "string",
- "url": "string",
- "modifiedUtc": "2019-08-24T14:15:22Z"
}
}, - "customFields": {
- "property1": null,
- "property2": null
}, - "currencyCode": "string",
- "addresses": [
- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "id": "stringstringstringstringstringstring",
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
]
}
]
Create a new vendor address
path Parameters
vendorId required | string = 24 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Name of the address (Bob's Shipping, Primary, Reno Warehouse, etc). |
address1 required | string [ 1 .. 200 ] characters Primary address line. |
address2 | string or null [ 1 .. 200 ] characters Second address line. |
address3 | string or null [ 1 .. 200 ] characters Third address line. |
city required | string [ 1 .. 200 ] characters Address city |
stateProvince | string or null [ 1 .. 200 ] characters Address state/province. |
postalCode required | string [ 1 .. 200 ] characters Postal/zip code. |
country | string or null [ 1 .. 200 ] characters Country identifier. |
shippingLeadTime | integer or null <int32> >= 0 Lead time for shipping contents. |
primaryBilling | boolean Signifies if this is a primary billing address. |
primaryShipping | boolean Signifies if this is a primary billing address. |
string or null <email> Email address | |
phone | string or null Associated phone number |
fax | string or null Associated fax number |
notes | string or null General notes associated to this customer address |
Responses
Request samples
- Payload
{- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
Response samples
- 200
{- "id": "string"
}
Get a specific vendor address
path Parameters
vendorId required | string = 24 characters |
vendorAddressId required | string = 36 characters |
Responses
Response samples
- 200
{- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "id": "stringstringstringstringstringstring",
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
Update a specific vendor address
path Parameters
vendorId required | string = 24 characters |
vendorAddressId required | string = 36 characters |
Request Body schema:
name | string or null [ 1 .. 200 ] characters Name of the address (Bob's Shipping, Primary, Reno Warehouse, etc). |
address1 required | string [ 1 .. 200 ] characters Primary address line. |
address2 | string or null [ 1 .. 200 ] characters Second address line. |
address3 | string or null [ 1 .. 200 ] characters Third address line. |
city required | string [ 1 .. 200 ] characters Address city |
stateProvince | string or null [ 1 .. 200 ] characters Address state/province. |
postalCode required | string [ 1 .. 200 ] characters Postal/zip code. |
country | string or null [ 1 .. 200 ] characters Country identifier. |
shippingLeadTime | integer or null <int32> >= 0 Lead time for shipping contents. |
primaryBilling | boolean Signifies if this is a primary billing address. |
primaryShipping | boolean Signifies if this is a primary billing address. |
string or null <email> Email address | |
phone | string or null Associated phone number |
fax | string or null Associated fax number |
notes | string or null General notes associated to this customer address |
Responses
Request samples
- Payload
{- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
Get a list of addresses for a vendor
path Parameters
vendorId required | string = 24 characters |
Responses
Response samples
- 200
[- {
- "name": "string",
- "address1": "string",
- "address2": "string",
- "address3": "string",
- "city": "string",
- "stateProvince": "string",
- "postalCode": "string",
- "country": "string",
- "shippingLeadTime": 0,
- "primaryBilling": true,
- "primaryShipping": true,
- "id": "stringstringstringstringstringstring",
- "phone": "string",
- "fax": "string",
- "notes": "string"
}
]
Create a new vendor contact
path Parameters
vendorId required | string = 24 characters |
Request Body schema:
firstName required | string [ 1 .. 200 ] characters First name |
lastName | string or null [ 1 .. 200 ] characters Last name |
position | string or null [ 1 .. 200 ] characters Position / Job Title |
phone | string or null Phone number |
cellPhone | string or null Cellphone number |
string or null <email> Email address | |
fax | string or null Fax number |
Responses
Request samples
- Payload
{- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "fax": "string"
}
Response samples
- 200
{- "id": "string"
}
Get a specific vendor contact
path Parameters
vendorId required | string = 24 characters The id of the vendor to modify contacts for |
contactId required | string = 36 characters The id of the vendor contact. |
Responses
Response samples
- 200
{- "id": "stringstringstringstringstringstring",
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "cellPhone": "string",
- "phone": "string",
- "fax": "string"
}
Update a specific vendor contact
path Parameters
vendorId required | string = 24 characters The id of the vendor to modify contacts for |
contactId required | string = 36 characters The id of the vendor contact. |
Request Body schema:
The new data to apply to the given contact
firstName required | string [ 1 .. 200 ] characters First name |
lastName | string or null [ 1 .. 200 ] characters Last name |
position | string or null [ 1 .. 200 ] characters Position / Job Title |
phone | string or null Phone number |
cellPhone | string or null Cellphone number |
string or null <email> Email address | |
fax | string or null Fax number |
Responses
Request samples
- Payload
{- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "phone": "string",
- "cellPhone": "string",
- "fax": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstringstringstring",
- "firstName": "string",
- "lastName": "string",
- "position": "string",
- "cellPhone": "string",
- "phone": "string",
- "fax": "string"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "createdUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "status": "needsReview",
- "priority": "low"
}
Find work orders based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
workOrderIds | Array of strings or null [ 1 .. 500 ] items Filter to work orders whose ids are in the list |
numbers | Array of integers or null <int32> [ 1 .. 500 ] items Filter to only given numbers |
names | Array of strings or null [ 1 .. 500 ] items Filter to only given names |
statuses | Array of strings or null (WorkOrderStatusEnum) [ 1 .. 500 ] items Enum: "needsReview" "approved" "scheduled" "inProgress" "complete" "cancelled" Filter to match the given statuses |
createdBeforeUtc | string or null <date-time> Filters jobs created before (exclusive) this parameter in UTC time. If not time component is passed, midnight UTC will be used. |
createdAfterUtc | string or null <date-time> Filters jobs created after (exclusive) this parameter in UTC time. If not time component is passed, midnight UTC will be used. |
Responses
Request samples
- Payload
{- "workOrderIds": [
- "string"
], - "numbers": [
- 0
], - "names": [
- "string"
], - "statuses": [
- "needsReview"
], - "createdBeforeUtc": "2019-08-24T14:15:22Z",
- "createdAfterUtc": "2019-08-24T14:15:22Z"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "number": 0,
- "name": "string",
- "createdUtc": "2019-08-24T14:15:22Z",
- "completedOnUtc": "2019-08-24T14:15:22Z",
- "cancelledOnUtc": "2019-08-24T14:15:22Z",
- "scheduledStartUtc": "2019-08-24T14:15:22Z",
- "scheduledEndUtc": "2019-08-24T14:15:22Z",
- "status": "needsReview",
- "priority": "low"
}
]
Response samples
- 200
{- "id": "stringstringstringstring",
- "name": "string",
- "departmentId": "stringstringstringstring",
- "setupRate": 0,
- "runRate": 0,
- "laborRate": 0,
- "overheadRate": 0,
- "machineRate": 0,
- "deleted": true,
- "equipment": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "workCenterId": "stringstringstringstring",
- "manufacturer": "string",
- "modelNumber": "string",
- "serialNumber": "string",
- "canRunUnattended": true,
- "unlimitedCapacity": true,
- "status": "good",
- "notes": "string",
- "deleted": true
}
]
}
Find workcenters based on search parameters.
query Parameters
Sort.Field | string non-empty Sort field |
Sort.Dir | string (CommonEnumSortDirectionEnum) Enum: "ascending" "descending" Sort direction |
Skip | integer <int32> >= 0 Number of records to skip. |
Take | integer <int32> [ 0 .. 5000 ] Number of records to return (maximum) |
Request Body schema:
ids | Array of strings or null Filter workcenters based on matching ids. |
name | string or null [ 1 .. 200 ] characters Filter workcenters based on their name. |
Responses
Request samples
- Payload
{- "ids": [
- "string"
], - "name": "string"
}
Response samples
- 200
[- {
- "id": "stringstringstringstring",
- "name": "string",
- "departmentId": "stringstringstringstring",
- "setupRate": 0,
- "runRate": 0,
- "laborRate": 0,
- "overheadRate": 0,
- "machineRate": 0,
- "deleted": true,
- "equipment": [
- {
- "id": "stringstringstringstring",
- "name": "string",
- "description": "string",
- "workCenterId": "stringstringstringstring",
- "manufacturer": "string",
- "modelNumber": "string",
- "serialNumber": "string",
- "canRunUnattended": true,
- "unlimitedCapacity": true,
- "status": "good",
- "notes": "string",
- "deleted": true
}
]
}
]