update_customer
HTTP Method: POST

Updates an existing order's customer (shipping information).

Endpoint

https://api.finerworks.com/v3/update_customer


Authorization Credentials
Must include in header or as querystring parameters during request.

Name/KeyDescriptionTypeAdditional information
web_api_key

Can be found here within your FinerWorks account.

text

Required

app_key

Can be generated here within your FinerWorks account.

text

Required

Body Parameters

Customer address details to be submitted via JSON

NameDescriptionTypeAdditional information
order_id

Assigned FinerWorks order id number

number

Required

customer_info

Name and address information of your customer (the shipping address).

address

None.

Example

application/json, text/json

{
  "order_id": 1,
  "customer_info": {
    "first_name": "sample string 1",
    "last_name": "sample string 2",
    "company_name": "sample string 3",
    "address_1": "sample string 4",
    "address_2": "sample string 5",
    "address_3": "sample string 6",
    "city": "sample string 7",
    "state_code": "sample string 8",
    "province": "sample string 9",
    "zip_postal_code": "sample string 10",
    "country_code": "sample string 11",
    "phone": "sample string 12",
    "email": "sample string 13",
    "address_order_po": "sample string 14"
  }
}

NameDescriptionTypeAdditional information
success

Indicates if the status returned was successful

boolean

None.

status_code

HTTP Status code

HttpStatusCode

None.

message

Additional information may be included here

text

None.

debug

Used to assist debugging any errors

Exception

None.

Example

application/json, text/json

{
  "success": true,
  "status_code": 100,
  "message": "sample string 2",
  "debug": {
    "ClassName": "System.Exception",
    "Message": null,
    "Data": null,
    "InnerException": null,
    "HelpURL": "sample string 1",
    "StackTraceString": null,
    "RemoteStackTraceString": null,
    "RemoteStackIndex": 0,
    "ExceptionMethod": null,
    "HResult": 3,
    "Source": "sample string 2",
    "WatsonBuckets": null
  }
}