openapi: 3.2.0
info:
title: Beacon Rest Services Get Multiple Quote Product Variation…
description: 'A combination of all methods in the beacon-api
[ BASE URL: https://beaconproplus.com
Beacon ProPlus
Version 1: https://beaconproplus.com/v1/rest/com/becn
Version 2: https://beaconproplus.com/v2/rest/com/becn
Version 3: https://beaconproplus.com/v3/rest/com/becn
Beacon Stack
[ BASE URL: https://beacon-api-x7xzzdp35a-uk.a.run.app
Version 1: https://beacon-api-x7xzzdp35a-uk.a.run.app/v1/rest/com/becn/
Version 2: https://beacon-api-x7xzzdp35a-uk.a.run.app/v2/rest/com/becn/
Version 3…'
version: '1.0'
contact: {}
servers: []
tags:
- name: GetMultipleQuoteProductVariation
paths:
/getMultipleQuoteProductVariation:
post:
operationId: V2Controller_getMultipleQuoteProductVariation
summary: Returns product variation for quote
description: 'This service returns product variations to add to a quote for multiple product Ids. To select a different color for a product on a quote, user will select the expand option in the quote field.
Note: ProductId is required.'
parameters: []
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/getMultipleQuoteProductVariationBody'
responses:
'200':
description: successful operation
refer to the API Uniform Format dropdown above
content:
application/json:
schema:
$ref: '#/components/schemas/getMultipleQuoteProductVariationResponse'
'400':
description: Bad Request, accountId is invalid.
'401':
description: Unauthorized, the authorization bearer token is invalid.
'405':
description: Method not allowed, the request method is not valid for this API or this API is not available.
'500':
description: Internal exception.
tags:
- GetMultipleQuoteProductVariation
components:
schemas:
_300003:
type: object
properties:
color:
type: array
items:
type: string
size:
type: array
items:
type: string
thickness:
type: array
items:
type: string
required:
- color
- size
- thickness
ProductMultiVariation:
type: object
properties:
currentSkuId:
type: string
skus:
$ref: '#/components/schemas/Skus'
variations:
$ref: '#/components/schemas/Variations'
vendorColors:
type: array
items:
$ref: '#/components/schemas/VendorColor'
allVariationTypes:
type: array
items:
type: string
currentVariations:
$ref: '#/components/schemas/CurrentVariations'
variationKeyMFG:
type: string
variationKeyColor:
type: string
variationGroups:
type: array
items:
$ref: '#/components/schemas/VariationGroup'
maxVariationGroupSize:
type: number
required:
- currentSkuId
- skus
- variations
- vendorColors
- allVariationTypes
- currentVariations
- variationKeyMFG
- variationKeyColor
- variationGroups
- maxVariationGroupSize
getMultipleQuoteProductVariationResponse:
type: object
properties:
productId:
type: string
productMultiVariation:
$ref: '#/components/schemas/ProductMultiVariation'
variationContentKeyMap:
$ref: '#/components/schemas/VariationContentKeyMap'
required:
- productId
- productMultiVariation
- variationContentKeyMap
Variations:
type: object
properties:
color:
$ref: '#/components/schemas/Color'
size:
$ref: '#/components/schemas/Size'
thickness:
$ref: '#/components/schemas/Thickness'
required:
- color
- size
- thickness
VariationGroup:
type: object
properties:
variationTypes:
type: array
items:
type: string
required:
- variationTypes
CurrentVariations:
type: object
properties:
color:
type: string
size:
type: string
diameter:
type: string
thickness:
type: string
style:
type: string
packaging:
type: string
MFG:
type: string
required:
- color
- size
- diameter
- thickness
- style
- packaging
- MFG
VariationContentKeyMap:
type: object
properties: {}
Color:
type: object
properties:
White:
type: array
items:
type: string
Dover:
type: array
items:
type: string
required:
- White
- Dover
Thickness:
type: object
properties:
2mm:
type: array
items:
type: string
4mm:
type: array
items:
type: string
6mm:
type: array
items:
type: string
required:
- 2mm
- 4mm
- 6mm
getMultipleQuoteProductVariationBody:
type: object
properties:
productId:
type: string
skuId:
type: string
vendorColorId:
type: string
quoteOrderId:
type: string
required:
- productId
- skuId
- vendorColorId
- quoteOrderId
Size:
type: object
properties:
12x10:
type: array
items:
type: string
4x4:
type: array
items:
type: string
required:
- 12x10
- 4x4
Skus:
type: object
properties:
'300003':
$ref: '#/components/schemas/_300003'
'600001':
$ref: '#/components/schemas/_300003'
'600002':
$ref: '#/components/schemas/_300003'
required:
- '300003'
- '600001'
- '600002'
VendorColor:
type: object
properties:
id:
type: string
MFG:
type: string
name:
type: string
code:
type: string
sku:
type: string
color:
type: string
required:
- id
- MFG
- name
- code
- sku
- color