Sources: Magento Inventory Sources
insert update REST
- Catalog:
Magento - Schema:
Inventory - Primary Keys:
source_code - Label: Inventory Sources
Find Sources by SearchCriteria SearchCriteria is not required because load all stocks is useful case
Can retrieve data and change data using insert and update.
Summary
Find Sources by SearchCriteria SearchCriteria is not required because load all stocks is useful case
API Source
- Endpoint:
/V1/inventory/sources - Operation:
get /V1/inventory/sources
Performance Characteristics
| Characteristic | Value |
|---|---|
| Average access latency (ms) | 46 |
| Full scan rows per minute | 114,833 |
| Point query rows per minute | 1,322 |
| Write rows per minute | 599 |
The result can be cached on the client.
Parameters
| Name | Data Type | Required | Default | Documentation |
|---|---|---|---|---|
search |
`` | Current page. | ||
search |
`` | Condition type | ||
search |
`` | Field | ||
search |
`` | Value | ||
search |
`` | Page size. | ||
search |
`` | Sorting direction. | ||
search |
`` | Sorting field. |
Table Columns
The columns of the table Sources are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.
| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|---|---|---|
city |
varchar2 |
City | filters on the platform, writable, city |
Source city | |
contact_ |
varchar2 |
Contact Name | filters on the platform, writable, contact_ |
Source contact name | |
country_ |
varchar2 |
Country ID | filters on the platform, writable, country_ |
Source country id | |
description |
varchar2 |
Description | filters on the platform, writable, description |
Source description | |
email |
varchar2 |
filters on the platform, writable, email |
Source email | ||
enabled |
char |
Enabled | filters on the platform, writable, enabled |
If source is enabled. For new entity can be null | |
extension_ |
varchar2 |
Extension Attributes Frontend Description | filters on the platform, writable, extension_ |
||
extension_ |
varchar2 |
Extension Attributes Frontend Name | filters on the platform, writable, extension_ |
||
extension_ |
char |
Extension Attributes Is Pickup Location Active | filters on the platform, writable, extension_ |
||
fax |
varchar2 |
Fax | filters on the platform, writable, fax |
Source fax | |
latitude |
decimal |
Latitude | filters on the platform, writable, latitude |
Source latitude | |
longitude |
decimal |
Longitude | filters on the platform, writable, longitude |
Source longitude | |
name |
varchar2 |
Name | filters on the platform, writable, name |
Source name | |
phone |
varchar2 |
Phone | filters on the platform, writable, phone |
Source phone number | |
postcode |
varchar2 |
Postcode | filters on the platform, writable, postcode |
Source post code | |
region |
varchar2 |
Region | filters on the platform, writable, region |
Region title if source has custom region | |
region_ |
int64 |
Region ID | filters on the platform, writable, region_ |
Region id if source has registered region. | |
source_ |
varchar2 |
Source Code | filters on the platform, writable, source_ |
Source code | |
street |
varchar2 |
Street | filters on the platform, writable, street |
Source street name | |
use_ |
char |
Use Default Carrier Config | filters on the platform, writable, use_ |
Is need to use default config |