--- swagger: "2.0" info: x-ibm-name: items title: Items version: 1.0.0 description: "" schemes: - https basePath: /v1 consumes: - application/json produces: - application/json - fsc-api-admin@fedex.com securityDefinitions: oauth2: type: oauth2 description: "" flow: accessCode authorizationUrl: https://api-sandbox.supplychain.fedex.com/api/sandbox/fsc/oauth2/authorize scopes: Fulfillment_Returns: Read/Write access to Orders, Items, RMAs, Inventory objects tokenUrl: https://api-sandbox.supplychain.fedex.com/api/sandbox/fsc/oauth2/token x-tokenIntrospect: url: https://vp1npmqdp01-v1.genco.com/api/sandbox/fsc/oauth/introspect Client_Secret: type: apiKey description: Enter Client Secret in: header name: X-IBM-Client-Secret Client_Id: type: apiKey in: header name: X-IBM-Client-Id description: Enter Client ID security: - Client_Id: [] Client_Secret: [] oauth2: - Fulfillment_Returns x-ibm-configuration: testable: true enforced: true phase: realized paths: /items: get: responses: 200: description: 200 OK parameters: - name: Accesstoken type: string required: false in: header description: Enter AccessToken, it is mandatory in case of basic authentication. - name: responseFilter type: string required: false in: query description: SUMMARY or DETAIL - name: attributeType type: string required: false in: query description: Color - name: itemId type: string required: false in: query description: "28600" - name: sku type: string required: false in: query description: 005-009-0001 - name: upc type: string required: false in: query description: "4353455" - name: categoryId type: string required: false in: query description: "1" - name: attributeValue type: string required: false in: query description: Blue - name: statusCode type: boolean required: false in: query description: true or false - name: pageLimit type: string required: false in: query description: "5" - name: prevTimestamp type: string required: false in: query description: "1469144285159" - name: nextTimestamp type: string required: false in: query description: "1469144285159" summary: Get Item description: The Items API provides the capability of getting product information within the FedEx® Fulfillment platform. security: - Client_Secret: [] Client_Id: [] - oauth2: - Fulfillment_Returns post: responses: 200: description: 200 OK parameters: - name: input_request required: false in: body schema: type: object description: "{\"item\": {\"longDescription\": \"Test \",\"hsCode\": \"1040.60\",\"brand\": \"Apple\",\"model\": \"Apple\",\"subCategory\": \"electronics\", \"productClass\": \"productClass\",\"retailerType\": \"RMS\",\"hazardMaterial\": false,\"battery\": true,\"batteryType\": \"Alkaline\",\"barCodeMarked\": true,\"shelfLife\": 2,\"serializationRequired\": true,\"batchLotRequired\": false,\"polyBagRequired\": true,\"shipAlone\": false,\"internationalShipping\": true,\"countryCode\": \"US\",\"fragile\": true,\"perishable\": true,\"liquid\": true,\t\"sku\": \"SKU1-23-SKU-23e4-S5tw1443\",\"upc\": \"fgwww\",\"dimensions\": {\"height\": 12,\"length\": 10,\"width\": 1},\"weight\": 12,\"itemCost\": \"1\",\"retailPrice\": \"1\",\"returnItemInfo\": {\t\"returnable\": 1,\"returnDaysLimit\": 4,\"destination\": \"test\",\"shippingService\": \"GR\",\"serialNumber\": true,\"requireRepCapture\": 1,\"countryOfOriginRequired\": true,\"casPackingSku\": [{\"packingSku\": \"12345\"},{\"packingSku\": \"23456\"},{\"packingSku\": \"78965\"}]}, \"lowStockThreshold\": 10,\"hazardous\": 1,\"name\": \"qw\",\"categoryId\": 1,\"variants\": [{\"attributeKey\": \"1\",\"attributeValue\": \"hsd\"}, {\"attributeKey\": \"2\",\"attributeValue\": \"6\"}, {\t\"attributeKey\": \"1\",\"attributeValue\": \"2\"}],\"caseDetails\": [{\"id\": 1,\"caseType\": \"innerCase\",\"barCode\": \"123322334\",\"height\": 1,\"length\": 1,\"width\": 1,\t\"weight\": 1,\"numberOfUnits\": 1}, {\"id\": 1,\"caseType\": \"masterCase\",\"barCode\": \"3\",\"height\": 6,\"length\": 1,\"width\": 4,\"weight\": 2,\"numberOfUnits\": 2}]}}" - name: Accesstoken type: string required: false in: header description: Enter AccessToken, it is mandatory in case of basic authentication. summary: Create Item description: The Items API provides the capability of creating new products within the FedEx® Fulfillment platform. These newly created products will be part of Product Catalog for the retailer to manage their inventory and make any required changes to an existing product information. security: - Client_Secret: [] Client_Id: [] - oauth2: - Fulfillment_Returns /items/{itemId}: put: responses: 200: description: 200 OK parameters: - name: input_request required: true in: body schema: type: object description: "{\"item\": {\"longDescription\": \"Test \",\"hsCode\": \"1040.60\",\"brand\": \"Apple\",\"model\": \"Apple\",\"subCategory\": \"electronics\", \"productClass\": \"productClass\",\"retailerType\": \"RMS\",\"hazardMaterial\": false,\"battery\": true,\"batteryType\": \"Alkaline\",\"barCodeMarked\": true,\"shelfLife\": 2,\"serializationRequired\": true,\"batchLotRequired\": false,\"polyBagRequired\": true,\"shipAlone\": false,\"internationalShipping\": true,\"countryCode\": \"US\",\"fragile\": true,\"perishable\": true,\"liquid\": true,\t\"sku\": \"SKU1-23-SKU-23e4-S5tw1443\",\"upc\": \"fgwww\",\"dimensions\": {\"height\": 12,\"length\": 10,\"width\": 1},\"weight\": 12,\"itemCost\": \"1\",\"retailPrice\": \"1\",\"returnItemInfo\": {\t\"returnable\": 1,\"returnDaysLimit\": 4,\"destination\": \"test\",\"shippingService\": \"GR\",\"serialNumber\": true,\"requireRepCapture\": 1,\"countryOfOriginRequired\": true,\"casPackingSku\": [{\"packingSku\": \"12345\"},{\"packingSku\": \"23456\"},{\"packingSku\": \"78965\"}]}, \"lowStockThreshold\": 10,\"hazardous\": 1,\"name\": \"qw\",\"categoryId\": 1,\"variants\": [{\"attributeKey\": \"1\",\"attributeValue\": \"hsd\"}, {\"attributeKey\": \"2\",\"attributeValue\": \"6\"}, {\t\"attributeKey\": \"1\",\"attributeValue\": \"2\"}],\"caseDetails\": [{\"id\": 1,\"caseType\": \"innerCase\",\"barCode\": \"123322334\",\"height\": 1,\"length\": 1,\"width\": 1,\t\"weight\": 1,\"numberOfUnits\": 1}, {\"id\": 1,\"caseType\": \"masterCase\",\"barCode\": \"3\",\"height\": 6,\"length\": 1,\"width\": 4,\"weight\": 2,\"numberOfUnits\": 2}]}}" - name: Accesstoken type: string required: false in: header description: Enter AccessToken, it is mandatory in case of basic authentication. - name: itemId type: string required: true in: path description: Enter the ItemId summary: Update Item description: The Items API provides the capability of updating products within the FedEx® Fulfillment platform. security: - Client_Secret: [] Client_Id: [] - oauth2: - Fulfillment_Returns tags: [] x-ibm-endpoints: - endpointUrl: https://api-sandbox.supplychain.fedex.com/api/sandbox type: - development ...