chore(oas): [17/n] improve OAS schemas (#9284)
Improve OAS schemas [17/n]
This commit is contained in:
@@ -3,6 +3,59 @@
|
||||
* type: object
|
||||
* description: The adjustment's adjustments.
|
||||
* x-schemaName: BaseOrderShippingMethodAdjustment
|
||||
* properties:
|
||||
* shipping_method:
|
||||
* $ref: "#/components/schemas/BaseOrderShippingMethod"
|
||||
* shipping_method_id:
|
||||
* type: string
|
||||
* title: shipping_method_id
|
||||
* description: The ID of the shipping method this adjustment applies on.
|
||||
* id:
|
||||
* type: string
|
||||
* title: id
|
||||
* description: The adjustment's ID.
|
||||
* code:
|
||||
* type: string
|
||||
* title: code
|
||||
* description: The adjustment's code.
|
||||
* amount:
|
||||
* type: number
|
||||
* title: amount
|
||||
* description: The adjustment's amount.
|
||||
* order_id:
|
||||
* type: string
|
||||
* title: order_id
|
||||
* description: The ID of the associated order.
|
||||
* description:
|
||||
* type: string
|
||||
* title: description
|
||||
* description: The adjustment's description.
|
||||
* promotion_id:
|
||||
* type: string
|
||||
* title: promotion_id
|
||||
* description: The ID of the promotion applied by this adjustment.
|
||||
* provider_id:
|
||||
* type: string
|
||||
* title: provider_id
|
||||
* description: The adjustment's provider ID.
|
||||
* created_at:
|
||||
* type: string
|
||||
* format: date-time
|
||||
* title: created_at
|
||||
* description: The date the adjustment was created.
|
||||
* updated_at:
|
||||
* type: string
|
||||
* format: date-time
|
||||
* title: updated_at
|
||||
* description: The date the adjustment was updated.
|
||||
* required:
|
||||
* - shipping_method
|
||||
* - shipping_method_id
|
||||
* - id
|
||||
* - amount
|
||||
* - order_id
|
||||
* - created_at
|
||||
* - updated_at
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user