Skip to content

Instantly share code, notes, and snippets.

@mbraga-sfdc
Created October 9, 2020 17:55
Show Gist options
  • Save mbraga-sfdc/96969711b71c4a4930aa4a8f663a6f2e to your computer and use it in GitHub Desktop.
Save mbraga-sfdc/96969711b71c4a4930aa4a8f663a6f2e to your computer and use it in GitHub Desktop.
/{type}/get_inventory/:
get:
tags:
- "Internal calls"
description: "Get Inventory"
operationId: "typeGet_inventoryGET"
consumes:
- "application/json"
produces:
- "application/json"
- "application/xml"
parameters:
- name: "type"
in: "path"
description: "json or xml"
required: true
type: "string"
- name: "product_id"
in: "query"
description: "Product Id"
required: true
type: "integer"
responses:
"200":
description: "OK"
schema:
type: "array"
items:
$ref: "#/definitions/Inventory"
security:
- basic: []
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment