---
title: "Modify Location"
method: POST
path: "/modifyLocation"
tags: ["Location Management"]
---

# Modify Location

`POST /modifyLocation`

Use the Modify Location endpoint to update data elements that are related to the location. Pass only the parameters to be modified &mdash; leave the rest blank.

#### Nullifying data elements
You can pass `null` for the following parameters to set the value in the database to `null`.

|   |   |
|:--|:--|
| `name` | `address1` |
| `address2` | `city` |
| `phone` | `providerSpecifiedId`|

## Response `default`

- object
  - `status_code` integer, nullable, required — The response status code. May return a string for some statuses.
  - `status` string, nullable, required — The condition of a process or response
  - `processing_time` number, float, nullable, required — The time elapsed in processing the transaction
  - `echo` object, nullable, required — A structure that contains transaction ID information
    - `transaction_id` string, nullable, required — An ID that represents an API transaction
    - `provider_timestamp` string, date-time, nullable, required — Store a related timestamp for reporting and troubleshooting purposes
    - `provider_transaction_id` string, nullable, required — Secondary transaction identifier (generated by a provider)
  - `system_timestamp` string, date-time, nullable, required — A system generated timestamp
  - `rtoken` string, nullable, required — A system-generated ID used for tracking
  - `errors` string[] — A list of errors generated while the request was processed
  - `response_data` object, nullable, required — A structure for the response data. It can be empty but usually will contain information.
    - `name` string, required — Name of the location
    - `address1` string, nullable, required — Address 1 of the location
    - `address2` string, nullable, required — Address 2 of the location
    - `city` string, nullable, required — City of the location
    - `state` string, nullable, required — State of the location
    - `postalCode` string, nullable, required — Postal code of the location
    - `phone` string, nullable, required — The phone number associated with the locations
    - `providerSpecifiedId` string, nullable, required — The partner or program identity for a location
    - `centralBillFlag` integer — Indicates a central corporate credit aggregate billing location
    - `creditLimit` number, float, nullable — The credit limit for this location
    - `cycleType` string, nullable — The type of time period
    - `cycleInvoice` integer, nullable — If cycleType is weekly, the value must be a day of the week with 0 meaning Sunday. If cycleType is monthly, the value must be a day of the month from 1 to 28. If daily, the value is to be 1.
    - `cycleStart` integer, nullable — Represents a day of the week or day of the month that the invoice cycle begins (1=Monday, 7=Sunday).

---

[API](https://skmtc.net/galileo-ft/apis/program-api.md) · [All operations](https://skmtc.net/galileo-ft/apis/program-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/galileo-ft/program-api/revisions/bcd728f97a18/schema)
