Skip to content

Commit

Permalink
Updated API from documentation release
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Jan 23, 2024
1 parent 4771466 commit b290971
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 10 deletions.
4 changes: 4 additions & 0 deletions api-specs/importapi/api.raml
Original file line number Diff line number Diff line change
Expand Up @@ -167,10 +167,12 @@ traits:
queryParameters:
limit?:
type: number
format: int64
description: |
Number of [results requested](/../api/general-concepts#limit).
offset?:
type: number
format: int64
description: |
Number of [elements skipped](/../api/general-concepts#offset).
sort?:
Expand Down Expand Up @@ -260,10 +262,12 @@ traits:
queryParameters:
limit?:
type: number
format: int64
description: |
Number of [results requested](/../api/general-concepts#limit).
offset?:
type: number
format: int64
description: |
Number of [elements skipped](/../api/general-concepts#offset).
sort?:
Expand Down
4 changes: 2 additions & 2 deletions api-specs/importapi/types/common.raml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,11 @@ types:
w:
description: The width of the asset source.
type: number
format: int
format: int32
h:
description: The height of the asset source.
type: number
format: int
format: int32
AssetSource:
description:
An AssetSource is a representation of an Asset in a specific format, for
Expand Down
3 changes: 1 addition & 2 deletions api-specs/importapi/types/import-summary.raml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,8 @@ types:
type: integer
format: long
OperationStates:
description: The number of resources in each [Processing State](/processing-state#processingstate).
properties:
#description: The number of resources in each [Processing State](/processing-state#processingstate).
# type: number
processing:
type: integer
format: int64
Expand Down
30 changes: 24 additions & 6 deletions api-specs/importapi/types/order-import.raml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ types:
properties:
quantity:
type: number
format: int64
state:
description: |
Maps to `ItemState.state`.
Expand All @@ -32,6 +33,7 @@ types:
description: |
Maps to `ItemShippingTarget.quantity`.
type: number
format: int64
ItemShippingDetailsDraft:
properties:
targets:
Expand Down Expand Up @@ -123,6 +125,7 @@ types:
description: |
Maps to `LineItem.quantity`.
type: number
format: int64
state?:
type: ItemState[]
supplyChannel?:
Expand Down Expand Up @@ -181,10 +184,18 @@ types:
type: ShippingRatePriceTier[]
ParcelMeasurements:
properties:
heightInMillimeter?: number
lengthInMillimeter?: number
widthInMillimeter?: number
weightInGram?: number
heightInMillimeter?:
type: number
format: int32
lengthInMillimeter?:
type: number
format: int32
widthInMillimeter?:
type: number
format: int32
weightInGram?:
type: number
format: int32
TrackingData:
properties:
trackingId?: string
Expand All @@ -195,7 +206,9 @@ types:
DeliveryItem:
properties:
id: string
quantity: number
quantity:
type: number
format: int64
Parcel:
properties:
id:
Expand Down Expand Up @@ -264,7 +277,10 @@ types:
ExternalTaxRateDraft:
properties:
name: string
amount?: number
amount?:
type: number
minimum: 0
maximum: 1
country: string
state?: string
subRates?: price.SubRate[]
Expand Down Expand Up @@ -292,6 +308,7 @@ types:
slug: string
quantity:
type: number
format: int64
state?:
type: ItemState[]
taxCategory?:
Expand Down Expand Up @@ -438,6 +455,7 @@ types:
properties:
score:
type: number
format: int64
OrderImport:
description: |
The data representation for an Order to be imported that is persisted as an [Order](/../api/projects/orders#top) in the Project.
Expand Down
1 change: 1 addition & 0 deletions api-specs/importapi/types/order-patch-import.raml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ types:
properties:
quantity:
type: number
format: int64
lineItemId?:
type: string
customLineItemId?:
Expand Down

0 comments on commit b290971

Please sign in to comment.