Skip to navigation

Products

View as Markdown

List products and specifications

Retrieve customer products and their specification mappings. Use the selected Matrix product_id in submission-v2.

Request: GET https://one.mtxsci.com/api/1.1/wf/product-ids-v2

Authentication: Authorization: Bearer <token>, using response.token from authenticate-v2.

Success: 200 OK with a JSON body recorded as text/plain;charset=utf-8.

Request body: None.

Query parameters

ParameterFormatRequirement and usage
pageInteger in query stringPage to retrieve; start at 1.
customer_idStringRequired. Authorized customer from customers-v2.
product_idStringOptional product identifier filter.

Response envelope

FieldTypeDescription
pageStringReturned page number, for example "1".
hasNextPageBooleanWhether another page is available.
product_idsArray of objectsRecords in this page.

Keep the customer and filters unchanged while paging. Increment page while hasNextPage is true; stop when it is false.

Product fields

FieldTypeDescription
product_idStringMatrix product identifier used in submissions.
descriptionStringProduct description.
loc_codeStringLocation code.
specificationObjectSpecification associated with this product.
specification.nameStringSpecification name.
specification.descriptionStringSpecification description.
specification.itemsArray of objectsCustomer items mapped to the product for specification management.
specification.items[].item_numberStringCustomer item code or number.
specification.items[].item_nameStringCustomer item name.

Maintain customer item code-to-Matrix product ID mappings using specification.items. Several items may map to the same product. Send the Matrix product_id in submissions; item metadata supplies the mapping context.

Saved example

The attached 200 OK example preserves the documented field names, nesting, and types using generic placeholders. Use the actual hasNextPage flag to determine whether another page is available.

Authentication

AuthorizationBearer

Use response.token from authenticate-v2. response.expires is the lifetime in seconds (86400 = 24 hours).

Query parameters

pageintegerOptional>=1Defaults to 1

Returned page number, for example "1".

customer_idstringRequired

Required authorized customer_id from customers-v2.

product_idstringOptional
Matrix product identifier used in submissions.

Response

OK