Cofactr Platform API
  1. Purchases
Cofactr Platform API
  • BOMs
    • Gets Boms that user has read access to
      GET
    • Creates a Bom using Cofactr Data
      POST
    • Creates a Bom using raw bomline data and performs searches to convert into Cofactr Data
      POST
    • Gets a Bom
      GET
    • Upsert BOM Async
      PUT
    • Updates a Bom
      PATCH
    • 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 BomLine
      GET
    • Updates a BomLine
      PATCH
    • 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 Programs
    • Creates a Program
    • Gets a Program
    • Updates a Program
    • Deletes a Program
    • Gets Program Availabilities
    • Gets Program Availabilities Async
    • Gets Program Reference Pricing
    • Get Programs Lines
    • Get Programs Line
    • Update Programs Line
    • Delete Programs Line
    • Create Programs Lines
    • Get Program Part Overrides
    • Create Program Part Overrides
    • Get Program Part Override
    • Update Program Part Override
    • Delete Program Part Override
  • Account
    • Sub Org
      • List Sub Orgs
      • Get Sub Org
      • Update Sub Org
      • Create Sub Org
    • Get Org
    • Get Users
    • Get User
  • Reporting
    • Customer SQL Query
  • Email
    • Mark Outbound Email as Sent
    • Create Outbound Email
    • Get Outbound Email
  • Auth
    • Update API Key
  • Async Jobs
    • Get Async Job Status
  • Stock Documents
    • List StockDocuments
    • Get StockDocument
    • Download StockDocument
    • Create StockDocument
  • Suppliers
    • Create Supplier
    • Update Supplier
    • Get Supplier
    • Get Suppliers
  • Parts
    • Async Create Parts
    • Async Upsert Parts
    • Get Part
  • Purchases
    • Get Purchase Order
      GET
    • Create Purchase Order
      POST
    • Update Purchase Order
      PATCH
    • Delete Purchase Order
      DELETE
    • Get Purchase Lines
      GET
    • Get Purchase Line
      GET
    • Create Purchase Line
      POST
    • Update Many Purchase Lines
      PATCH
    • Delete Purchase Line
      DELETE
    • Get NoPart Purchase Lines
      GET
    • Create NoPart Purchase Line
      POST
    • Update Many NoPart Purchase Lines
      PATCH
    • Delete NoPart Purchase Line
      DELETE
    • Create Purchase Event
      POST
    • Update Supplier Bill
      PATCH
    • Update Supplier Bill Line
      PATCH
    • Create Supplier Bill
      POST
    • Create Supplier Bill Line
      POST
  • Teams
    • Get Teams
    • Create Team
    • Get Team
    • Update Team
    • Delete Team
    • Archive Team
    • Unarchive Team
    • Get Team Types
    • Create Team Type
    • Get Team Type
    • Update Team Type
    • Delete Team Type
  • Custom Properties
    • Get Custom Properties
    • Create Custom Property
    • Update Custom Property
    • Get Custom Property
  • Stock Lots
    • Updates a StockLot
    • Upsert Part Stock
  • Tags
    • Get tags
    • Create tag
    • Get tag
    • Update tag
  • Rfqs
    • Create Rfq
    • Update Rfq
  • RfqLines
    • Create RfqLine
    • Update RfqLine
  • SupplierQuote
    • Create Supplier Quote
    • Update Supplier Quote
  • SupplierQuoteLines
    • Create Supplier Quote Line
    • Update Supplier Quote Line
  1. Purchases

Create Purchase Line

POST
/v1/purchase_orders/{purchase_id}/lines/
Creates Lines for a Purchase Order using the Customer API

Request

Authorization
Add parameter in header
Authorization
Example:
Authorization: ********************
Path Params
purchase_id
string 
required
Query Params
blended
string 
optional
If given, includes purchase orders made by sub orgs in the lookup
Header Params
x-org-id
string 
optional
Body Params application/json
synced_from_integration
boolean 
Synced from integration
optional
integration_source_name
string 
Integration source name
optional
integration_record_id
string 
Integration record id
optional
synced_from_integration_at
string <date-time>
Synced from integration at
optional
metadata
object 
Metadata
optional
notes
string 
Notes
optional
>= 1 characters
quant
string <decimal>
Quant
optional
part_id
string 
Part id
required
>= 1 characters
line_total_expected
string <decimal>
Line total expected
optional
line_total_paid
string <decimal>
Line total paid
optional
shipping_paid
string <decimal>
Shipping paid
optional
duties_paid
string <decimal>
Duties paid
optional
other_total_paid
string <decimal>
Other total paid
optional
adjustment
string <decimal>
Adjustment
optional
link
string <uri>
Link
optional
need_delivery_by
string <date>
Need delivery by
optional
expected_ship_by
string <date>
Expected ship by
optional
returnable_until
string <date>
Returnable until
optional
release_deadline
string <date>
Release deadline
optional
release_date
string <date>
Release date
optional
estimated_delivery
string <date>
Estimated delivery
optional
confirmed_at
string <date-time>
Confirmed at
optional
shipped_at
string <date-time>
Shipped at
optional
delivered_at
string <date-time>
Delivered at
optional
received_at
string <date-time>
Received at
optional
returned_at
string <date-time>
Returned at
optional
canceled_at
string <date-time>
Canceled at
optional
expected_ships_in
integer 
Expected ships in
optional
expected_transit_time
integer 
Expected transit time
optional
package
enum<string> 
Package
optional
Allowed values:
tubetraybulktape_singletape_multiplereelunknown
is_backordered
boolean 
Is backordered
optional
is_uncertain_lead
boolean 
Is uncertain lead
optional
sku
string 
Sku
optional
>= 1 characters
program_id
string <uuid>
Program id
optional
split_from_id
string <uuid>
Split from id
optional
purchase_request_id
string <uuid>
Purchase request id
optional
confirmed_by_id
string <uuid>
Confirmed by id
optional
shipped_by_id
string <uuid>
Shipped by id
optional
received_by_id
string <uuid>
Received by id
optional
returned_by_id
string <uuid>
Returned by id
optional
canceled_by_id
string <uuid>
Canceled by id
optional
quote_id
string <uuid>
Quote id
optional
Example
[
  {
    "adjustment": 100,
    "integration_record_id": "",
    "metadata": {
      "test": "eeeerrrr"
    },
    "is_backordered": false,
    "is_uncertain_lead": false,
    "part_id": "CTSOOTMUOPYG",
    "quant": "10",
    "line_total_expected": 100,
    "line_total_paid": 100,
    "shipping_paid": 100,
    "duties_paid": 100,
    "other_total_paid": 100,
    "link": "http://google.com",
    "expected_ships_in": 2,
    "expected_transit_time": 3,
    "package": "reel",
    "notes": "The is a test"
  },
  {
    "adjustment": 100,
    "integration_record_id": "",
    "metadata": {
      "test": "eeeerrrr"
    },
    "is_backordered": false,
    "is_uncertain_lead": false,
    "part_id": "RCGJ7WYX8GXO",
    "quant": "10",
    "line_total_expected": 100,
    "line_total_paid": 100,
    "shipping_paid": 100,
    "duties_paid": 100,
    "other_total_paid": 100,
    "link": "http://google.com",
    "expected_ships_in": 2,
    "expected_transit_time": 3,
    "package": "reel",
    "notes": "The is a test"
  },
  {
    "adjustment": 100,
    "integration_record_id": "",
    "metadata": {
      "test": "eeeerrrr"
    },
    "is_backordered": false,
    "is_uncertain_lead": false,
    "part_id": "RCVWQ1GXU01C",
    "quant": "10",
    "line_total_expected": 100,
    "line_total_paid": 100,
    "shipping_paid": 100,
    "duties_paid": 100,
    "other_total_paid": 100,
    "link": "http://google.com",
    "expected_ships_in": 2,
    "expected_transit_time": 3,
    "package": "reel",
    "notes": "The is a test"
  }
]

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/purchase_orders//lines/?blended' \
--header 'x-org-id;' \
--header 'Content-Type: application/json' \
--header 'Authorization;' \
--data-raw '[
	{
		"adjustment": "50.00",
		"integration_record_id": "",
		"metadata": {
			"test": "eeeerrrr"
		},
		"is_backordered": false,
		"is_uncertain_lead": false,
		"part_id": "CTSOOTMUOPYG",
		"quant": "10",
		"line_total_expected": 100,
		"line_total_paid": 100,
		"shipping_paid": 100,
		"duties_paid": 100,
		"other_total_paid": 100,
		"adjustment": 100,
		"link": "http://google.com",
		"expected_ships_in": 2,
		"expected_transit_time": 3,
		"package": "reel",
		"notes": "The is a test"
	},
	{
		"adjustment": "50.00",
		"integration_record_id": "",
		"metadata": {
			"test": "eeeerrrr"
		},
		"is_backordered": false,
		"is_uncertain_lead": false,
		"part_id": "RCGJ7WYX8GXO",
		"quant": "10",
		"line_total_expected": 100,
		"line_total_paid": 100,
		"shipping_paid": 100,
		"duties_paid": 100,
		"other_total_paid": 100,
		"adjustment": 100,
		"link": "http://google.com",
		"expected_ships_in": 2,
		"expected_transit_time": 3,
		"package": "reel",
		"notes": "The is a test"
	},
	{
		"adjustment": "50.00",
		"integration_record_id": "",
		"metadata": {
			"test": "eeeerrrr"
		},
		"is_backordered": false,
		"is_uncertain_lead": false,
		"part_id": "RCVWQ1GXU01C",
		"quant": "10",
		"line_total_expected": 100,
		"line_total_paid": 100,
		"shipping_paid": 100,
		"duties_paid": 100,
		"other_total_paid": 100,
		"adjustment": 100,
		"link": "http://google.com",
		"expected_ships_in": 2,
		"expected_transit_time": 3,
		"package": "reel",
		"notes": "The is a test"
	}
]'

Responses

🟢200Success
application/json
Body
array of:
id
string <uuid>
Id
read-onlyoptional
metadata
object 
Metadata
required
synced_from_integration
boolean 
Synced from integration
read-onlyoptional
synced_from_integration_at
string <date-time>
Synced from integration at
read-onlyoptional
integration_source_name
string 
Integration source name
read-onlyoptional
>= 1 characters
integration_record_id
string 
Integration record id
read-onlyoptional
>= 1 characters
notes
string 
Notes
required
>= 1 characters
quant
string <decimal>
Quant
required
part
object (OrgPart) 
optional
id
string <uuid>
Id
read-onlyoptional
created_at
string <date-time>
Created at
read-onlyoptional
updated_at
string <date-time>
Updated at
read-onlyoptional
custom_id
string 
Custom id
optional
<= 255 characters
org_id
string 
Org id
read-onlyoptional
cofactr_id
string 
Cofactr id
required
>= 1 characters
aec
enum<string> 
Aec
optional
Allowed values:
AEC-Q001AEC-Q002AEC-Q003AEC-Q004AEC-Q005AEC-Q006AEC-Q100AEC-Q101AEC-Q102AEC-Q103AEC-Q104AEC-Q200AEC-Q unknown
classification
string 
Classification
optional
<= 255 characters
description
string 
Description
optional
hero_image
string 
Hero image
optional
<= 255 characters
lifecycle_status
enum<string> 
Lifecycle status
optional
Allowed values:
NewProductionEOLNRFNDObsolete
mfg
string 
Mfg
optional
<= 255 characters
mpn
string 
Mpn
optional
<= 255 characters
msl
string 
Msl
optional
<= 2 characters
package
string 
Package
optional
<= 255 characters
reach
enum<string> 
Reach
optional
Allowed values:
REACH AffectedREACH CompliantREACH Non-CompliantREACH UnaffectedREACH Unknown
rohs
enum<string> 
Rohs
optional
Allowed values:
RoHS Compliant by ExemptionRoHS CompliantRoHS Non-CompliantRoHS UnknownRoHS3 Compliant by ExemptionRoHS3 Compliant
termination_type
string 
Termination type
optional
<= 255 characters
terminations
integer 
Terminations
optional
>= -2147483648<= 2147483647
last_synced_at
string 
Last synced at
read-onlyoptional
custom_properties
object 
Custom properties
optional
line_total_expected
string <decimal>
Line total expected
optional
line_total_paid
string <decimal>
Line total paid
optional
shipping_paid
string <decimal>
Shipping paid
optional
duties_paid
string <decimal>
Duties paid
optional
other_total_paid
string <decimal>
Other total paid
optional
adjustment
string <decimal>
Adjustment
required
link
string <uri>
Link
optional
<= 200 characters
need_delivery_by
string <date>
Need delivery by
optional
expected_ship_by
string <date>
Expected ship by
optional
returnable_until
string <date>
Returnable until
optional
Indicates the deadlines for initiating a return of this line. A null value indicates that the line is non-returnable.
release_deadline
string <date>
Release deadline
optional
Indicates that this line is scheduled for a future distributor release and the last allowable date that the release can be scheduled for. A null value indicates that this line is not a scheduled release.
release_date
string <date>
Release date
optional
Indicates the requested ship date for this line. A null value indicates that the line should ship as soon as possible.
estimated_delivery
string <date>
Estimated delivery
optional
confirmed_at
string <date-time>
Confirmed at
optional
shipped_at
string <date-time>
Shipped at
optional
delivered_at
string <date-time>
Delivered at
optional
received_at
string <date-time>
Received at
optional
returned_at
string <date-time>
Returned at
optional
canceled_at
string <date-time>
Canceled at
optional
expected_ships_in
integer 
Expected ships in
optional
>= -2147483648<= 2147483647
expected_transit_time
integer 
Expected transit time
optional
>= -2147483648<= 2147483647
package
enum<string> 
Package
optional
Allowed values:
tubetraybulktape_singletape_multiplereelunknown
is_backordered
boolean 
Is backordered
optional
is_uncertain_lead
boolean 
Is uncertain lead
optional
sku
string 
Sku
required
>= 1 characters
program
object (ProgramRelatedRecord) 
Program
optional
name
string 
required
record_type
enum<string> 
required
Allowed values:
bom_batchproduction_run
record_id
string <uuid>
required
org_id
string <uuid>
required
split_from_id
string <uuid>
Split from id
required
quote
object (Quote) 
optional
id
string <uuid>
Id
read-onlyoptional
synced_from_integration
boolean 
Synced from integration
read-onlyoptional
synced_from_integration_at
string <date-time>
Synced from integration at
read-onlyoptional
integration_source_name
string 
Integration source name
read-onlyoptional
>= 1 characters
integration_record_id
string 
Integration record id
read-onlyoptional
>= 1 characters
metadata
object 
Metadata
required
notes
string 
Notes
required
>= 1 characters
org_id
string <uuid>
Org id
required
status
string 
Status
read-onlyoptional
method
string 
Method
required
>= 1 characters
part_id
string 
Part id
required
>= 1 characters
cofactr_quote_id
string 
Cofactr quote id
required
>= 1 characters
request_submitted_at
string <date-time>
Request submitted at
required
response_received_at
string <date-time>
Response received at
optional
rejected_at
string <date-time>
Rejected at
optional
expires_at
string <date-time>
Expires at
optional
link
string <uri>
Link
optional
<= 200 characters
requested_quantity
integer 
Requested quantity
required
moq
integer 
Moq
optional
>= -2147483648<= 2147483647
multiple
integer 
Multiple
optional
>= -2147483648<= 2147483647
maximum
integer 
Maximum
optional
>= -2147483648<= 2147483647
lead
integer 
Lead
optional
>= -2147483648<= 2147483647
additional_flat
string <decimal>
Additional flat
optional
additional_percentage
string <decimal>
Additional percentage
optional
shipping
string <decimal>
Shipping
optional
authorized_supplier
boolean 
Authorized supplier
required
prices
array[object (PriceBreak) {2}] 
required
supplier_id
string <uuid>
Supplier id
required
org_supplier_id
string <uuid>
Org supplier id
required
quote_request_id
string <uuid>
Quote request id
required
purchase_request
object (PurchaseRequest) 
optional
id
string <uuid>
Id
read-onlyoptional
metadata
object 
Metadata
required
synced_from_integration
boolean 
Synced from integration
read-onlyoptional
synced_from_integration_at
string <date-time>
Synced from integration at
read-onlyoptional
integration_source_name
string 
Integration source name
read-onlyoptional
>= 1 characters
integration_record_id
string 
Integration record id
read-onlyoptional
>= 1 characters
status
string 
Status
read-onlyoptional
requested_by
object (User) 
optional
requested_at
string <date-time>
Requested at
optional
requested_notes
string 
Requested notes
optional
team
object (TeamLite) 
optional
kb_offer
object 
Kb offer
required
org_id
string <uuid>
Org id
required
part_id
string 
Part id
required
>= 1 characters
quantity
integer 
Quantity
required
rejected_at
string <date-time>
Rejected at
required
assigned_by
string <uuid>
Assigned by
optional
assigned_to
string <uuid>
Assigned to
optional
approved_by
string <uuid>
Approved by
optional
archived_by
string <uuid>
Archived by
optional
rejected_by
string <uuid>
Rejected by
required
supplier_id
string <uuid>
Supplier id
required
program_id
string <uuid>
Program id
required
ship_to_id
string <uuid>
Ship to id
required
purchase_rule_id
string <uuid>
Purchase rule id
required
confirmed_by
object (User) 
optional
shipped_by
object (User) 
optional
received_by
object (User) 
optional
returned_by
object (User) 
optional
canceled_by
object (User) 
optional
purchase_order_id
string <uuid>
Purchase order id
required
team
object (TeamLite) 
optional
unit_price
string 
Unit price
read-onlyoptional
custom_properties
object 
Custom properties
optional
Example
[
  {
    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
    "metadata": {},
    "synced_from_integration": true,
    "synced_from_integration_at": "2019-08-24T14:15:22Z",
    "integration_source_name": "string",
    "integration_record_id": "string",
    "notes": "string",
    "quant": "string",
    "part": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "created_at": "2019-08-24T14:15:22Z",
      "updated_at": "2019-08-24T14:15:22Z",
      "custom_id": "string",
      "org_id": "string",
      "cofactr_id": "string",
      "aec": "AEC-Q001",
      "classification": "string",
      "description": "string",
      "hero_image": "string",
      "lifecycle_status": "New",
      "mfg": "string",
      "mpn": "string",
      "msl": "st",
      "package": "string",
      "reach": "REACH Affected",
      "rohs": "RoHS Compliant by Exemption",
      "termination_type": "string",
      "terminations": -2147483648,
      "last_synced_at": "string",
      "custom_properties": {}
    },
    "line_total_expected": "string",
    "line_total_paid": "string",
    "shipping_paid": "string",
    "duties_paid": "string",
    "other_total_paid": "string",
    "adjustment": "string",
    "link": "http://example.com",
    "need_delivery_by": "2019-08-24",
    "expected_ship_by": "2019-08-24",
    "returnable_until": "2019-08-24",
    "release_deadline": "2019-08-24",
    "release_date": "2019-08-24",
    "estimated_delivery": "2019-08-24",
    "confirmed_at": "2019-08-24T14:15:22Z",
    "shipped_at": "2019-08-24T14:15:22Z",
    "delivered_at": "2019-08-24T14:15:22Z",
    "received_at": "2019-08-24T14:15:22Z",
    "returned_at": "2019-08-24T14:15:22Z",
    "canceled_at": "2019-08-24T14:15:22Z",
    "expected_ships_in": -2147483648,
    "expected_transit_time": -2147483648,
    "package": "tube",
    "is_backordered": true,
    "is_uncertain_lead": true,
    "sku": "string",
    "program": {
      "name": "string",
      "record_type": "bom_batch",
      "record_id": "8bf519b6-a3e0-49d2-8e42-039542d9a489",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
    },
    "split_from_id": "5b2be705-c96c-46b0-a576-ddecd95a4019",
    "quote": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "synced_from_integration": true,
      "synced_from_integration_at": "2019-08-24T14:15:22Z",
      "integration_source_name": "string",
      "integration_record_id": "string",
      "metadata": {},
      "notes": "string",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
      "status": "string",
      "method": "string",
      "part_id": "string",
      "cofactr_quote_id": "string",
      "request_submitted_at": "2019-08-24T14:15:22Z",
      "response_received_at": "2019-08-24T14:15:22Z",
      "rejected_at": "2019-08-24T14:15:22Z",
      "expires_at": "2019-08-24T14:15:22Z",
      "link": "http://example.com",
      "requested_quantity": 0,
      "moq": -2147483648,
      "multiple": -2147483648,
      "maximum": -2147483648,
      "lead": -2147483648,
      "additional_flat": "string",
      "additional_percentage": "string",
      "shipping": "string",
      "authorized_supplier": true,
      "prices": [
        {
          "price_break": -2147483648,
          "price": "string"
        }
      ],
      "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
      "org_supplier_id": "863f230f-b11e-4e2b-b6e0-de6cb1b7a3e3",
      "quote_request_id": "0e1e732f-b710-4548-aa3b-23018de5bc5e"
    },
    "purchase_request": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "metadata": {},
      "synced_from_integration": true,
      "synced_from_integration_at": "2019-08-24T14:15:22Z",
      "integration_source_name": "string",
      "integration_record_id": "string",
      "status": "string",
      "requested_by": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "email": "user@example.com",
        "first_name": "string",
        "last_name": "string",
        "title": "string",
        "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
      },
      "requested_at": "2019-08-24T14:15:22Z",
      "requested_notes": "string",
      "team": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string",
        "org": "3b4eb1f5-aaca-43c1-9ccf-5bbd44308aba",
        "team_type": {
          "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
          "name": "string",
          "plural_name": "string",
          "org": "3b4eb1f5-aaca-43c1-9ccf-5bbd44308aba"
        },
        "external_metadata": {},
        "internal_metadata": {},
        "archived": "string"
      },
      "kb_offer": {
        "property1": "string",
        "property2": "string"
      },
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b",
      "part_id": "string",
      "quantity": 0,
      "rejected_at": "2019-08-24T14:15:22Z",
      "assigned_by": "dd7cba77-7080-4b0e-9a94-fdfd1232f6b4",
      "assigned_to": "b9f52997-ff03-4166-bbff-22fd35e12939",
      "approved_by": "02030314-b162-4b4d-8af1-88eabdcc615d",
      "archived_by": "b5dab088-5678-4dc8-a1b2-f7b300fd8a85",
      "rejected_by": "90f2bd82-969c-453e-94eb-690792e1ab72",
      "supplier_id": "3cb1e20c-c6c9-4e71-ba66-399c468f697c",
      "program_id": "70c1146b-e933-4cb2-a789-bbca5312b517",
      "ship_to_id": "bb721090-fa9a-4e46-8bd9-b2279823a3ba",
      "purchase_rule_id": "0e8ac4c6-7d4a-47a5-953e-2a0e65def74e"
    },
    "confirmed_by": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "email": "user@example.com",
      "first_name": "string",
      "last_name": "string",
      "title": "string",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
    },
    "shipped_by": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "email": "user@example.com",
      "first_name": "string",
      "last_name": "string",
      "title": "string",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
    },
    "received_by": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "email": "user@example.com",
      "first_name": "string",
      "last_name": "string",
      "title": "string",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
    },
    "returned_by": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "email": "user@example.com",
      "first_name": "string",
      "last_name": "string",
      "title": "string",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
    },
    "canceled_by": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "email": "user@example.com",
      "first_name": "string",
      "last_name": "string",
      "title": "string",
      "org_id": "a40f5d1f-d889-42e9-94ea-b9b33585fc6b"
    },
    "purchase_order_id": "21637704-484e-4c9d-a7ca-e34984d27d80",
    "team": {
      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
      "name": "string",
      "org": "3b4eb1f5-aaca-43c1-9ccf-5bbd44308aba",
      "team_type": {
        "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
        "name": "string",
        "plural_name": "string",
        "org": "3b4eb1f5-aaca-43c1-9ccf-5bbd44308aba"
      },
      "external_metadata": {},
      "internal_metadata": {},
      "archived": "string"
    },
    "unit_price": "string",
    "custom_properties": {}
  }
]
Modified at 2025-02-06 23:25:41
Previous
Get Purchase Line
Next
Update Many Purchase Lines
Built with