Updates a PurchaseLedger object

Updates a PurchaseLedger object by ID

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
int64
required

ID of PurchaseLedger to return

Body Params
string
length ≤ 255

File attachment

string

Human readable text related to the purchase

string
length ≤ 255

Email address of the contact person for the purchase

string
length ≤ 255

Fax number of the contact person for the purchase

string
length ≤ 255

Name of the contact person for the purchase

string
length ≤ 255

Name of the person to be contacted for authorization of the purchase

string
length ≤ 255

Phone number of the contact person for the purchase

integer
0 to 28

Field used in forecasting feature. Coverage period is 1 day and maximum coverage period is 28 days or 4 weeks.

integer
enum

Coverage Period type:

  • 1 - Day
  • 7 - Week
Allowed:
uri
required

URI of the User API object corresponding to the User that created this PurchaseLedger object

date-time

ISO8061 timestamp of the time the resource was created

uri
required

URL of the Establishment API object related to the PurchaseLedger object

date-time

ISO8061 timestamp of the expected delivery date

boolean
Defaults to false

Boolean flag indicating whether or not the purchase has been finalized

date-time

ISO8061 timestamp indicating when the purchase was finalized, if it is indeed finalized

integer
enum

FOB Type:

  • 1 - CFPayFreighttoDestination
  • 2 - FOBDestination
  • 3 - FOBShippingPoint
  • 4 - PayInsuranceandFreighttoDestination
Allowed:
date-time

ISO8061 timestamp describing when the relevant invoice was created

string

Additional information to note about this invoice

string

Identifying number for the invoice

boolean
Defaults to false

Boolean flag indicating if the PurchaseLedger object has been deleted

boolean
Defaults to false

Boolean flag indicating if the purchase order for this PurchaseLedger has been sent.

boolean

Boolean flag indicating if the purchase order has been submitted.

string
length ≤ 12
Defaults to 0.0000

Amount of miscellaneous fees attached

string

The original ID of the invoice

date-time

ISO8061 timestamp when an overridden PurchaseOrder object was created

integer
enum
required

The type of purchase:

  • 0 - Receipt
  • 1 - Correction
Allowed:
string
enum
Allowed:
uri

URI of this PurchaseLedger API object

date-time

ISO8061 timestamp of the time the purchase order was sent

string
length ≤ 255

Part one of the address that the purchase order will be shipped to

string
length ≤ 255

Part two of the address that the purchase order will be shipped to

string
length ≤ 12
Defaults to 0.0000

Shipping and handling price

string
length ≤ 255

City of the address that the purchase order will be shipped to

string
length ≤ 255

Contact person for the shipping address

string
length ≤ 255

Country of the address that the purchase order will be shipped to

string
length ≤ 255

Email address of the shipping contact person

string
length ≤ 255

Name of the shipping company

string
length ≤ 255

Phone number of the shipping contact person

string
length ≤ 255

State of the address that the purchase order will be shipped to

string
length ≤ 255

Additional shipping information

string
length ≤ 255

Zip code of the address that the purchase order will be shipped to

string
length ≤ 12
Defaults to 0.0000

Amount of tax

string
length ≤ 12
Defaults to 0.0000

Tax rate applied to the purchase

string
length ≤ 12
Defaults to 0.00

Final price of purchase

uri
required

URI of the User API object corresponding to the User that created this PurchaseLedger object

date-time

ISO8061 timestamp of the last time the resource was updated

uuid

UUID associated with the PurchaseLedger object

string
length ≤ 255

Account number of the vendor ordering the purchase order

string
length ≤ 255

Part one of the vendor's address

string
length ≤ 255

Part two of the vendor's address

string
length ≤ 255

City of the vendor's addess

string
length ≤ 255

Name of the contact person at the vendor

string
length ≤ 255

Country of the vendor's address

string
length ≤ 255

Email address of the vendor contact person

string
length ≤ 255

Fax number of the vendor

string
length ≤ 255

Name of the vendor ordering the purchase order

string
length ≤ 255

Phone number of the vendor ordering the purchase order

string
length ≤ 255

State of the vendor's address

string
length ≤ 255

VAT ID of the vendor ordering the purchase order

string
length ≤ 255

Zip code of the vendor's address

Responses

400

Invalid input

401

Authorization required

Language
Credentials
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json