24/7 Support: 800.608.6482

Navigation


OrderCustomFields_Update

This function allows you to update the custom order field values for a specific order.

Request Body Parameters

Order_ID Type:
Number
Title:
Order Number
Order number to update
CustomField_Values Type:
Object
Title:
Custom Field Values
Object containting individual custom field data. Each child object wil be the module code. (ie, customfields, productimagecustomfields )
customfields Type:
Object
Title:
Module Code
Module Code of the customfield module to update. Typically will be "customfields" but other modules support the custom fields feature.
field_code1 Type:
String
Title:
Placeholder
This is the custom field code to update. Its value is the custom field value to update.

Response Parameters

success boolean value for if the request was successfull
processed boolean value if function was processed

Example Request

Example Response

Error Responses

error code
MER-JSN-ORD-00025
error message
Order not found
  Order number not found.
error code
MER-JSN-00018
error message
Invalid value for field 'CustomField_Values:customfields:reps': Failed to load custom field 'reps'
  description
The order custom field code passed does not exist.

This website uses cookies to identify visitors, track visitors to our website, store login session information and to remember your user preferences. By continuing to use this site you agree to our use of cookies. Learn More.

This website uses cookies. By continuing to use this site you agree to our use of cookies. Learn More.

Accept

Copyright © 1997 – 2023 Miva©, Miva Merchant©, MivaPay©, MivaCon©, Camp Miva ℠, Miva, Inc. All Rights Reserved.