ReDoc documentation

inventory/sources

inventory/sources

get/V1/inventory/sources

Find Sources by SearchCriteria SearchCriteria is not required because load all stocks is useful case

Request
query Parameters
searchCriteria[currentPage]
integer

Current page.

searchCriteria[filterGroups][0][filters][0][conditionType]
string

Condition type

searchCriteria[filterGroups][0][filters][0][field]
string

Field

searchCriteria[filterGroups][0][filters][0][value]
string

Value

searchCriteria[pageSize]
integer

Page size.

searchCriteria[sortOrders][0][direction]
string

Sorting direction.

searchCriteria[sortOrders][0][field]
string

Sorting field.

Responses
200

200 Success.

401

401 Unauthorized

default

Unexpected error

Response samples
{
  • "items": [
    ],
  • "search_criteria": {
    },
  • "total_count": 0
}

inventory/sources

post/V1/inventory/sources

Save Source data

Request
Request Body schema:
required
object (inventory-api-data-source-interface)

Represents physical storage, i.e. brick and mortar store or warehouse Used fully qualified namespaces in annotations for proper work of WebApi request parser

Responses
400

400 Bad Request

401

401 Unauthorized

default

Unexpected error

Request samples
{
  • "source": {
    }
}
Response samples
{
  • "message": "string",
  • "errors": [
    ],
  • "code": 0,
  • "parameters": [
    ],
  • "trace": "string"
}