The following query parameters can be used to get simple information about StockLocationAddress.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
Example Request
To get a simple list of StockLocationAddress, a OPTIONS request should be sent to /api/v1/oms/stock_location_addresses/list-simple/ endpoint. No query parameters or request body are required.
Here's an example of how to make the request in python:
In a successful response with a status code of 200 OK, the API returns a simple list of StockLocationAddress information.
This example response serves as a reference to understand the structure and data format of StockLocationAddress.
GET List StockLocationAddress
This service used to get a list of the StockLocationAddress.
Path:/api/v1/oms/stock_location_addresses/
Query Parameters
The following query parameters can be used to get the information about StockLocationAddress.
Parameter
Data Type
In
Description
token
string
header
The API key of the customer account
Example Request
To get a list of StockLocationAddress, a GET request should be sent to /api/v1/oms/stock_location_addresses/ endpoint. No query parameter or request body are required.
Here's an example of how to make the request in python:
Example Response (200 OK)
In a successful response with a status code of 200 OK, the API returns stock_location_addresses information.
Parameter
Data Type
Description
pk
integer
The ID of the s_location address
name
string
The name of the s_location address
country
integer
The country ID of the s_location address
township
integer
The status of the s_location address
district
integer
The district value of the s_location address
mapping
json
The mapping value of the s_location address
title
string
The title value of the s_location address
is_active
boolean
The status of the s_location address
line
string
The line value of the s_location address
postcode
string
The postcode value of the s_location address
notes
string
The notes value of the s_location address
longitude
decimal
The longitude value of the s_location address
latitude
decimal
The latitude value of the s_location address
This example response serves as a reference to understand the structure and data format of stock_location_addresses.