- BOMs
- Gets Boms that user has read access toGET
- Creates a Bom using Cofactr DataPOST
- Creates a Bom using raw bomline data and performs searches to convert into Cofactr DataPOST
- Gets a BomGET
- Upsert BOM AsyncPUT
- Updates a BomPATCH
- Deletes a Bom if still unapproved. Archives a bom if approved.DELETE
- Approves an unapproved Bom.POST
- Gets Bom Lines on a Bom.GET
- Creates a new bomline on a Bom using Cofactr data. If a bomline with the provided part exists it will sum the quants instead of duplicating lines.POST
- Gets a BomLineGET
- Updates a BomLinePATCH
- Removes a Bomline from a Bom.DELETE
- Attempts to create a new Bomline using raw data and performs searches to convert into Cofactr Data. If a Bomline with the same part and refdes exists it will sum the quants instead of duplicating lines.POST
- Programs
- Gets ProgramsGET
- Creates a ProgramPOST
- Gets a ProgramGET
- Updates a ProgramPATCH
- Deletes a ProgramDELETE
- Gets Program AvailabilitiesGET
- Gets Program Availabilities AsyncGET
- Gets Program Reference PricingGET
- Get Programs LinesGET
- Get Programs LineGET
- Update Programs LinePATCH
- Delete Programs LineDELETE
- Create Programs LinesPOST
- Get Program Part OverridesGET
- Create Program Part OverridesPOST
- Get Program Part OverrideGET
- Update Program Part OverridePATCH
- Delete Program Part OverrideDELETE
- Account
- Reporting
- Email
- Auth
- Async Jobs
- Stock Documents
- Suppliers
- Parts
- Purchases
- Get Purchase Order
- Create Purchase Order
- Update Purchase Order
- Delete Purchase Order
- Get Purchase Lines
- Get Purchase Line
- Create Purchase Line
- Update Many Purchase Lines
- Delete Purchase Line
- Get NoPart Purchase Lines
- Create NoPart Purchase Line
- Update Many NoPart Purchase Lines
- Delete NoPart Purchase Line
- Create Purchase Event
- Update Supplier Bill
- Update Supplier Bill Line
- Create Supplier Bill
- Create Supplier Bill Line
- Teams
- Custom Properties
- Stock Lots
- Tags
- Rfqs
- RfqLines
- SupplierQuote
- SupplierQuoteLines
Create Team
Developing
POST
/v1/teams/
Request
Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Body Params application/json
synced_from_integration
boolean
Synced from integration
integration_source_name
string
Integration source name
integration_record_id
string
Integration record id
synced_from_integration_at
string <date-time>
Synced from integration at
name
string
Name
>= 1 characters<= 255 characters
team_type
string <uuid>
Team type
Example
{
"synced_from_integration": true,
"integration_source_name": "string",
"integration_record_id": "string",
"synced_from_integration_at": "2019-08-24T14:15:22Z",
"name": "string",
"team_type": "2d7c39ca-4caf-4164-b565-82a0bee8dc34"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/teams/' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '{
"synced_from_integration": true,
"integration_source_name": "string",
"integration_record_id": "string",
"synced_from_integration_at": "2019-08-24T14:15:22Z",
"name": "string",
"team_type": "2d7c39ca-4caf-4164-b565-82a0bee8dc34"
}'
Responses
🟢200Success
application/json
Body
id
string <uuid>
Id
name
string
Name
>= 1 characters<= 255 characters
org
object (OrgLite)
required
id
string <uuid>
Id
name
string
Name
>= 1 characters<= 255 characters
slug
string
Slug
>= 1 characters<= 255 characters
image
string
Image
website
string <uri>
Website
<= 200 characters
timezone
string
Timezone
price_model
string <uuid>
Price model
msl_reset_on_receipt
boolean
Msl reset on receipt
lcr_inspection_on_receipt
boolean
Lcr inspection on receipt
dimensional_inspection_on_receipt
boolean
Dimensional inspection on receipt
inspection_photo_on_receipt
boolean
Inspection photo on receipt
package_photo_on_receipt
boolean
Package photo on receipt
created_from
string <uuid>
Created from
sandbox
boolean
Sandbox
available_purchase_amount
string <decimal>
Available purchase amount
order_approval_threshold
string <decimal>
Order approval threshold
order_approval_threshold_direction
enum<string>
Order approval threshold direction
Allowed values:
updown
po_footer_notes
string
Po footer notes
bom_missing_custom_id_warning
enum<string>
Bom missing custom id warning
Allowed values:
allowedwarningerror
bom_upload_custom_id
enum<string>
Bom upload custom id
Allowed values:
noneprimarydifferent_punctuationalts
bom_clear_custom_id_on_alt_unapprove
boolean
Bom clear custom id on alt unapprove
bom_add_custom_id_on_alt_approve
boolean
Bom add custom id on alt approve
bom_transfer_custom_id_on_edit
boolean
Bom transfer custom id on edit
logging_enabled
boolean
Logging enabled
billed_with_parent
boolean
Billed with parent
industry
string
Industry
military_use
boolean
Military use
onboarding_required
boolean
Onboarding required
trial_ends_on
string <date>
Trial ends on
plan_expires_on
string <date>
Plan expires on
dpas
string
Dpas
ups_account_number
string
Ups account number
<= 25 characters
ups_account_country
string
Ups account country
ups_account_postal_code
string
Ups account postal code
<= 25 characters
fedex_account_number
string
Fedex account number
<= 25 characters
fedex_account_country
string
Fedex account country
fedex_account_postal_code
string
Fedex account postal code
<= 25 characters
billing_email
string <email>
Billing email
<= 254 characters
billing_address_line_1
string
Billing address line 1
<= 255 characters
billing_address_line_2
string
Billing address line 2
<= 255 characters
billing_address_city
string
Billing address city
<= 255 characters
billing_address_state
string
Billing address state
<= 255 characters
billing_address_country
string
Billing address country
billing_address_postal_code
string
Billing address postal code
<= 25 characters
billing_address_name
string
Billing address name
<= 255 characters
team_type
object (TeamType)
required
id
string <uuid>
Id
name
string
Name
>= 1 characters<= 255 characters
plural_name
string
Plural name
>= 1 characters<= 255 characters
org
string <uuid>
Org
external_metadata
object
External metadata
internal_metadata
object
Internal metadata
related_records
array[object (RelatedRecord) {4}]
read-onlyrequired
name
string
Name
>= 1 characters
record_type
string
Record type
>= 1 characters
record_id
string <uuid>
Record id
org_id
string <uuid>
Org id
archived
string
Archived
synced_from_integration
boolean
Synced from integration
synced_from_integration_at
string <date-time>
Synced from integration at
integration_source_name
string
Integration source name
>= 1 characters
integration_record_id
string
Integration record id
>= 1 characters
Example
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"org": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"slug": "string",
"image": "string",
"website": "http://example.com",
"timezone": "string",
"price_model": "ef362370-6cb3-458c-ac97-9accb6c62257",
"msl_reset_on_receipt": true,
"lcr_inspection_on_receipt": true,
"dimensional_inspection_on_receipt": true,
"inspection_photo_on_receipt": true,
"package_photo_on_receipt": true,
"created_from": "11c45396-e67e-4827-86cd-a07bcded47bc",
"sandbox": true,
"available_purchase_amount": "string",
"order_approval_threshold": "string",
"order_approval_threshold_direction": "up",
"po_footer_notes": "string",
"bom_missing_custom_id_warning": "allowed",
"bom_upload_custom_id": "none",
"bom_clear_custom_id_on_alt_unapprove": true,
"bom_add_custom_id_on_alt_approve": true,
"bom_transfer_custom_id_on_edit": true,
"logging_enabled": true,
"billed_with_parent": true,
"industry": "string",
"military_use": true,
"onboarding_required": true,
"trial_ends_on": "2019-08-24",
"plan_expires_on": "2019-08-24",
"dpas": "string",
"ups_account_number": "string",
"ups_account_country": "string",
"ups_account_postal_code": "string",
"fedex_account_number": "string",
"fedex_account_country": "string",
"fedex_account_postal_code": "string",
"billing_email": "user@example.com",
"billing_address_line_1": "string",
"billing_address_line_2": "string",
"billing_address_city": "string",
"billing_address_state": "string",
"billing_address_country": "string",
"billing_address_postal_code": "string",
"billing_address_name": "string"
},
"team_type": {
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"name": "string",
"plural_name": "string",
"org": "3b4eb1f5-aaca-43c1-9ccf-5bbd44308aba"
},
"external_metadata": {},
"internal_metadata": {},
"related_records": [
{
"name": "string",
"record_type": "string",
"record_id": "8bf519b6-a3e0-49d2-8e42-039542d9a489",
"org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
}
],
"archived": "string",
"synced_from_integration": true,
"synced_from_integration_at": "2019-08-24T14:15:22Z",
"integration_source_name": "string",
"integration_record_id": "string"
}
Modified at 2024-08-23 10:43:46