{"openapi":"3.0.1","info":{"title":"Inventory","description":"Rest API of Inventory\n <b><h1>Deprecated endpoints:</h1></b><table border=\"1px;\"><tr><th style=\"text-align: center; vertical-align: middle;\"><b><h3>Uri</b></h3></th><th><b>Method</b></th><th><b><h3>Since</h3></b></th><th><b><h3>End of life</h3></b></th></tr></table>","version":"1-apps"},"servers":[{"url":"api.test.bluestonepim.com/inventory"}],"tags":[{"name":"Technical","description":"To get technical information."},{"name":"Inventory","description":"Inventory management."},{"name":"Suppliers","description":"Inventory management"},{"name":"Warehouse","description":"Inventory management."}],"paths":{"/technical/version":{"get":{"tags":["Technical"],"summary":"Show service version.","operationId":"presentVersion","responses":{"200":{"description":"Show service version."},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}}},"security":[{"oauth2":[]}]}},"/healthcheck":{"get":{"tags":["Technical"],"summary":"Health check.","operationId":"checkStatuses","responses":{"200":{"description":"Return list of checks with healthy status (all are healthy)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CheckResult"}}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"503":{"description":"Return list of checks with healthy status (some are unhealthy)","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/CheckResult"}}}}}},"security":[{"oauth2":[]}]}},"/inventory/list":{"post":{"tags":["Inventory"],"summary":"List the products inventory status.","operationId":"listInventory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventoryListRequest"}}}},"responses":{"200":{"description":"List products inventory successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventoryListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/inventory/sync":{"post":{"tags":["Inventory"],"summary":"Reset inventory state to initial value.","operationId":"syncInventory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventorySyncRequest"}}}},"responses":{"200":{"description":"Sync inventory successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventorySyncResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/inventory/supplier/{id}/sync":{"post":{"tags":["Inventory"],"summary":"Reset inventory state to the provided amount for particular supplierId.","description":"Provided productNumber should be the specific supplier's productNumber which will be internally remapped to adequate productNumber if proper mapping exists. If the supplier or the mapping does not exist BadRequestException is thrown. Duplicate productNumbers are not allowed.","operationId":"syncInventoryForSupplier","parameters":[{"name":"id","in":"path","description":"Supplier id.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventorySyncRequest"}}}},"responses":{"200":{"description":"Sync inventory for particular supplier successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventorySyncResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/inventory":{"post":{"tags":["Inventory"],"summary":"Upsert inventory, partial update supported.","operationId":"upsertInventory","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventoryUpdateRequest"}}}},"responses":{"200":{"description":"Upsert inventory successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventoryUpdateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/inventory/supplier/{id}":{"post":{"tags":["Inventory"],"summary":"Upsert inventory for a particular supplierId, partial update supported.","description":"Provided productNumber should be the specific supplier's productNumber which will be internally remapped to adequate productNumber if proper mapping exists. If the supplier or the mapping does not exist BadRequestException is thrown. Duplicate productNumbers are not allowed.","operationId":"upsertInventoryForSupplier","parameters":[{"name":"id","in":"path","description":"Supplier id.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventoryUpdateRequest"}}}},"responses":{"200":{"description":"Upsert inventory for particular supplier successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProductInventoryUpdateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found"},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/suppliers":{"post":{"tags":["Suppliers"],"summary":"Create supplier.","operationId":"create","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierCreateRequest"}}}},"responses":{"201":{"description":"Created"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/suppliers/{id}":{"get":{"tags":["Suppliers"],"summary":"Get supplier.","operationId":"get","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get supplier successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found supplier"}},"security":[{"oauth2":[]}]},"put":{"tags":["Suppliers"],"summary":"Update supplier.","operationId":"update_1","parameters":[{"name":"id","in":"path","description":"Supplier id.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierUpdateRequest"}}}},"responses":{"204":{"description":"No content"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found supplier"},"422":{"description":"Invalid request"}},"security":[{"oauth2":[]}]},"delete":{"tags":["Suppliers"],"summary":"Delete supplier.","operationId":"delete","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No content"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found supplier"}},"security":[{"oauth2":[]}]}},"/suppliers/{id}/products/list":{"post":{"tags":["Suppliers"],"summary":"Get product mappings for a given supplier.","operationId":"get_1","parameters":[{"name":"id","in":"path","description":"Supplier id.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierProductsListRequest"}}}},"responses":{"200":{"description":"List products successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierProductsListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"}},"security":[{"oauth2":[]}]}},"/suppliers/list":{"post":{"tags":["Suppliers"],"summary":"List of supplier.","operationId":"list","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppliersListRequest"}}}},"responses":{"200":{"description":"List supplier successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SuppliersListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/suppliers/{id}/products":{"post":{"tags":["Suppliers"],"summary":"Upsert supplier products.","description":"Creates mapping to product number or modifies an existing one. If the productNumber in mapping points to a non existent product, this product will be created automatically.","operationId":"update","parameters":[{"name":"id","in":"path","description":"Supplier id.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierProductRequest"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SupplierProductUpdateResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found supplier"},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/warehouse":{"post":{"tags":["Warehouse"],"summary":"Create warehouse.","operationId":"create_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseCreateRequest"}}}},"responses":{"201":{"description":"Created","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/warehouse/{id}":{"get":{"tags":["Warehouse"],"summary":"Get warehouse.","operationId":"get_2","parameters":[{"name":"id","in":"path","description":"Warehouse id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Get warehouse successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found warehouse"},"422":{"description":"Invalid id"}},"security":[{"oauth2":[]}]},"delete":{"tags":["Warehouse"],"summary":"Delete warehouse.","operationId":"delete_1","parameters":[{"name":"id","in":"path","description":"Warehouse id.","required":true,"schema":{"type":"string"}}],"responses":{"204":{"description":"No content"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found warehouse"},"422":{"description":"Invalid id"}},"security":[{"oauth2":[]}]},"patch":{"tags":["Warehouse"],"summary":"Update warehouse, partial update supported.","operationId":"update_2","parameters":[{"name":"id","in":"path","description":"Warehouse id.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseUpdateRequest"}}}},"responses":{"204":{"description":"No content"},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"404":{"description":"Not found warehouse"},"422":{"description":"Invalid request"}},"security":[{"oauth2":[]}]}},"/warehouse/list":{"post":{"tags":["Warehouse"],"summary":"List warehouses.","operationId":"list_1","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseListRequest"}}}},"responses":{"200":{"description":"List warehouses successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}},"/warehouse/list/by-numbers":{"post":{"tags":["Warehouse"],"summary":"List warehouse by numbers.","operationId":"listByNumbers","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListWarehouseByNumbersRequest"}}}},"responses":{"200":{"description":"Get warehouse successfully","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WarehouseListResponse"}}}},"400":{"description":"Bad request","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorResponse"}}}},"422":{"description":"Invalid request"},"500":{"description":"Internal server error"}},"security":[{"oauth2":[]}]}}},"components":{"schemas":{"ErrorResponse":{"type":"object","properties":{"status":{"title":"Error status code.","type":"integer","format":"int32"},"error":{"title":"General error description.","type":"string"},"errorDetails":{"title":"List of errors details.","type":"array","items":{"$ref":"#/components/schemas/ErrorDetails"}},"requestId":{"title":"Request ID used for logging.","type":"string"},"timestamp":{"title":"Error timestamp.","type":"integer","format":"int64"},"quotaLimitExceededDetails":{"title":"Additional entity id list related to error","type":"array","items":{"$ref":"#/components/schemas/QuotaLimitExceededDetails"}}}},"ErrorDetails":{"type":"object","properties":{"message":{"title":"Error message.","type":"string"},"field":{"title":"Error related field.","type":"string"},"rejectedValue":{"title":"Invalid value causing error.","type":"string"}}},"QuotaLimitExceededDetails":{"type":"object","properties":{"quota":{"title":"Quota name.","type":"string"},"message":{"title":"Quota limit message.","type":"string"},"limit":{"title":"Quota limit.","type":"integer","format":"int32"},"entityId":{"title":"Id of the entity that caused the quota limit to be exceeded.","type":"string","nullable":true},"entityType":{"title":"Type of the entity that caused the quota limit to be exceeded.","type":"string","nullable":true}}},"CheckResult":{"required":["checkName","healthy"],"type":"object","properties":{"checkName":{"title":"Check service name.","type":"string"},"healthy":{"title":"Check service status.","type":"boolean"}}},"ProductInventoryListResponse":{"type":"object","properties":{"data":{"title":"List of product inventory.","type":"array","items":{"$ref":"#/components/schemas/ProductInventoryListResponseData"}}}},"ProductInventoryListResponseData":{"type":"object","properties":{"productNumber":{"title":"Product number.","type":"string"},"imported":{"type":"boolean"},"warehouseId":{"title":"Warehouse Id.","type":"string"},"amount":{"title":"Amount of product.","type":"number"},"modifiedAt":{"title":"Modified At.","type":"string","format":"date-time"},"amountConfirmed":{"title":"Is amount confirmed.","type":"boolean"},"nextDeliveryDate":{"title":"Next delivery date.","type":"string","format":"date-time"},"leadTime":{"title":"Lead time.","type":"integer","format":"int32"}}},"ProductInventoryListRequest":{"type":"object","properties":{"productNumbers":{"title":"List of product numbers.","maxItems":100,"minItems":1,"type":"array","items":{"type":"string"}},"warehouseIds":{"title":"List of warehouse ids.","maxItems":100,"minItems":0,"type":"array","items":{"type":"string"}},"warehouseNumbers":{"title":"List of warehouse numbers.","maxItems":100,"minItems":0,"type":"array","items":{"type":"string"}},"imported":{"title":"Is ERP products","type":"boolean"},"updatedAfter":{"title":"Updated After.","type":"integer","format":"int64"},"page":{"title":"Page to be returned.","minimum":0,"type":"integer","format":"int32","example":0,"default":0},"pageSize":{"title":"Number of items to be returned.","maximum":100,"minimum":1,"type":"integer","format":"int32","example":10,"default":10}}},"ProductInventorySyncResponse":{"type":"object","properties":{"insertedCount":{"title":"Count of inserted item.","type":"integer","format":"int64"},"updatedCount":{"title":"Count of updated item.","type":"integer","format":"int64"}}},"ProductInventorySyncRequest":{"required":["data"],"type":"object","properties":{"data":{"title":"Data list of product inventory to update.","maxItems":1000,"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/ProductInventorySyncRequestData"}}}},"ProductInventorySyncRequestData":{"required":["productNumber"],"type":"object","properties":{"productNumber":{"title":"Product number.","type":"string"},"imported":{"title":"Is ERP product.","type":"boolean"},"warehouseId":{"title":"Warehouse Id.","maxLength":50,"minLength":0,"type":"string"},"amount":{"$ref":"#/components/schemas/PropertyUpdateBigDecimal"},"amountConfirmed":{"title":"Is amount confirmed.","type":"boolean"},"nextDeliveryDate":{"$ref":"#/components/schemas/PropertyUpdateLocalDateTime"},"leadTime":{"title":"Lead time.","type":"integer","format":"int32"}}},"PropertyUpdateBigDecimal":{"title":"Amount of product","type":"object","properties":{"value":{"title":"Value for partial update.","type":"number"}},"description":"Used for incrementing/decreasing amount. Accepts positive and negative values. If the amount does not exist, parameter creates the amount and sets the amount to the specified value."},"PropertyUpdateLocalDateTime":{"title":"Next delivery date.","type":"object","properties":{"value":{"title":"Value for partial update.","type":"string","format":"date-time"}}},"ProductInventoryUpdateResponse":{"type":"object","properties":{"insertedCount":{"title":"Count of inserted items.","type":"integer","format":"int64"},"updatedCount":{"title":"Count of updated items.","type":"integer","format":"int64"}}},"ProductInventoryUpdateRequest":{"required":["data"],"type":"object","properties":{"data":{"title":"Data list of product inventory to update.","maxItems":1000,"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/ProductInventoryUpdateRequestData"}}}},"ProductInventoryUpdateRequestData":{"required":["productNumber"],"type":"object","properties":{"productNumber":{"title":"Product number.","type":"string"},"imported":{"title":"Is ERP products.","type":"boolean"},"warehouseId":{"title":"Warehouse Id.","maxLength":50,"minLength":0,"type":"string"},"amount":{"$ref":"#/components/schemas/PropertyUpdateBigDecimal"},"amountConfirmed":{"title":"Is amount confirmed.","type":"boolean"},"nextDeliveryDate":{"$ref":"#/components/schemas/PropertyUpdateLocalDateTime"},"leadTime":{"title":"Lead time.","type":"integer","format":"int32"}}},"SupplierCreateRequest":{"required":["name"],"type":"object","properties":{"name":{"title":"Supplier name.","type":"string"}}},"SupplierResponse":{"type":"object","properties":{"name":{"title":"Supplier name.","type":"string"},"id":{"title":"Supplier Id.","type":"string"}}},"SupplierProductResponseData":{"type":"object","properties":{"id":{"title":"Supplier product mapping Id.","type":"string"},"productNumber":{"title":"Product number.","type":"string"},"supplierProductNumber":{"title":"Supplier product number.","type":"string"}}},"SupplierProductsListResponse":{"type":"object","properties":{"data":{"title":"List of supplier products.","type":"array","items":{"$ref":"#/components/schemas/SupplierProductResponseData"}}}},"SupplierProductsListRequest":{"type":"object","properties":{"page":{"title":"Page to be returned.","minimum":0,"type":"integer","format":"int32","example":0},"pageSize":{"title":"Number of items to be returned.","maximum":100,"minimum":1,"type":"integer","format":"int32","example":10}}},"SuppliersListResponse":{"type":"object","properties":{"data":{"title":"List of supplier.","type":"array","items":{"$ref":"#/components/schemas/SuppliersListResponseData"}}}},"SuppliersListResponseData":{"type":"object","properties":{"name":{"title":"Supplier name.","type":"string"},"id":{"title":"Supplier Id.","type":"string"}}},"SuppliersListRequest":{"required":["page","pageSize"],"type":"object","properties":{"page":{"title":"Page to be returned.","minimum":0,"type":"integer","format":"int32","example":0},"pageSize":{"title":"Number of items to be returned.","maximum":100,"minimum":1,"type":"integer","format":"int32","example":10}}},"SupplierProductUpdateResponse":{"type":"object","properties":{"insertedCount":{"title":"Count of inserted item.","type":"integer","format":"int64"},"updatedCount":{"title":"Count of updated item.","type":"integer","format":"int64"},"insertedProductsCount":{"title":"Count of inserted product.","type":"integer","format":"int64"}}},"SupplierProductRequest":{"type":"object","properties":{"data":{"title":"Data list of supplier products to update.","maxItems":1000,"minItems":1,"type":"array","items":{"$ref":"#/components/schemas/SupplierProductRequestData"}}}},"SupplierProductRequestData":{"required":["productNumber","supplierProductNumber"],"type":"object","properties":{"productNumber":{"title":"Product number.","type":"string"},"supplierProductNumber":{"title":"Supplier product number.","type":"string"}}},"SupplierUpdateRequest":{"required":["name"],"type":"object","properties":{"name":{"title":"Supplier name.","type":"string"}}},"WarehouseResponse":{"type":"object","properties":{"name":{"title":"Warehouse name.","type":"string"},"location":{"title":"Warehouse location.","type":"string"},"id":{"title":"Warehouse Id.","type":"string"},"type":{"title":"Warehouse type.","type":"string"},"number":{"title":"Warehouse number.","type":"string"},"description":{"title":"Warehouse description.","type":"string"}}},"WarehouseCreateRequest":{"type":"object","properties":{"name":{"title":"Warehouse name.","type":"string"},"location":{"title":"Warehouse location.","type":"string"},"type":{"title":"Warehouse type.","type":"string"},"number":{"title":"Warehouse number.","type":"string"},"description":{"title":"Warehouse description.","type":"string"}}},"WarehouseListResponse":{"type":"object","properties":{"data":{"title":"List of warehouse.","type":"array","items":{"$ref":"#/components/schemas/WarehouseListResponseData"}}}},"WarehouseListResponseData":{"type":"object","properties":{"name":{"title":"Warehouse name.","type":"string"},"location":{"title":"Warehouse location.","type":"string"},"id":{"title":"Warehouse Id.","type":"string"},"type":{"title":"Warehouse type.","type":"string"},"number":{"title":"Warehouse number.","type":"string"},"description":{"title":"Warehouse description.","type":"string"}}},"WarehouseListRequest":{"type":"object","properties":{"page":{"title":"Page to be returned.","minimum":0,"type":"integer","format":"int32","example":0,"default":0},"pageSize":{"title":"Number of items to be returned","maximum":100,"minimum":1,"type":"integer","format":"int32","example":10,"default":10}}},"ListWarehouseByNumbersRequest":{"type":"object","properties":{"numbers":{"title":"List of warehouse numbers.","maxItems":100,"minItems":0,"type":"array","items":{"type":"string"}}}},"PropertyUpdateString":{"type":"object","properties":{"value":{"title":"Value for partial update.","type":"string"}}},"WarehouseUpdateRequest":{"required":["name"],"type":"object","properties":{"name":{"$ref":"#/components/schemas/PropertyUpdateString"},"location":{"$ref":"#/components/schemas/PropertyUpdateString"},"type":{"$ref":"#/components/schemas/PropertyUpdateString"},"number":{"$ref":"#/components/schemas/PropertyUpdateString"},"description":{"$ref":"#/components/schemas/PropertyUpdateString"}}}},"securitySchemes":{"oauth2":{"type":"oauth2","flows":{"clientCredentials":{"tokenUrl":"https://idp.test.bluestonepim.com/op/token","scopes":{"openid profile systemRoles permissions organization email name nickname":"All needed scopes."}}}}}},"x-amazon-apigateway-api-key-source":"AUTHORIZER"}