NetSuite REST Azerion icon

NetSuite REST Azerion

Call NetSuite SuiteTalk REST operations.

Actions981

Blanket Purchase Order → Insert or update record

AI-generated

Summary

Updates a NetSuite Blanket Purchase Order record by its internal ID using the PUT /blanketPurchaseOrder/{id} endpoint.

Inputs

  • id (required) — The internal ID of the blanket purchase order to update.
  • authMethod — Authentication method: OAuth1 or OAuth2.
  • isDebugMode — When true, includes full request and response details in the output.
  • externalId — External identifier for the record.
  • tranDate — Transaction date.
  • entity — Vendor associated with the blanket purchase order.
  • subsidiary — Subsidiary for the transaction.
  • currency — Currency of the transaction.
  • department — Department associated with the transaction.
  • class — Class associated with the transaction.
  • location — Location associated with the transaction.
  • terms — Payment terms.
  • createdDate — Date the record was created.
  • lastModifiedDate — Date the record was last modified.
  • tranId — Transaction number.
  • total — Total amount of the blanket purchase order.
  • discountAmount — Discount amount.
  • discountDate — Discount date.
  • dueDate — Due date.
  • billedAmount — Total billed amount.
  • purchasedAmount — Total purchased amount.
  • receivedAmount — Total received amount.
  • updateAmount — Amount to update.
  • updateDays — Number of days to update.
  • customFields — Collection of custom field values.
  • schedule — Order schedule details.
  • expense — Expense line items.
  • item — Item line items.

Output shape

object

Returns the updated blanket purchase order record as returned by NetSuite. If debug mode is enabled, the output also contains request details and the full response for troubleshooting.

Examples

Example 1: Update a blanket purchase order with a new total amount.

Set required ID, provide total amount, leave other fields unchanged.

Links

Discussion