Skip to content

Commit d6881e9

Browse files
committed
Updated API from documentation release
1 parent 2ecd3be commit d6881e9

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

api-specs/import/examples/import-summary.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"waitForMasterVariant": 0,
77
"imported": 2,
88
"rejected": 0,
9-
"canceled": 0
9+
"canceled": 0,
10+
"partiallyImported": 0
1011
},
1112
"total": 5
1213
}

api-specs/import/examples/operation-states.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,6 @@
55
"waitForMasterVariant": 0,
66
"imported": 2,
77
"rejected": 0,
8-
"canceled": 0
8+
"canceled": 0,
9+
"partiallyImported": 0
910
}

api-specs/import/types/common.raml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,7 @@ types:
488488
waitForMasterVariant: Products must have at least one Product Variant, also known as the Master Variant. If you import a Product without a Master Variant, the import request will have this status until another import request includes Master Variant data for the Product. Generates the [ImportWaitForMasterVariant](ctp:api:type:ImportWaitForMasterVariantEvent) Event.
489489
rejected: The resource could not be imported. References were resolved, but the system could not import the data due to an internal server error and the retry limit was reached. Generates the [ImportOperationRejected](ctp:api:type:ImportOperationRejectedEvent) Event.
490490
canceled: The import request was canceled and the resource was not imported.
491+
partiallyImported: The resource was partially imported. Some actions succeeded but others failed. The ImportOperation includes error details for the failed parts.
491492
type: string
492493
enum:
493494
- processing
@@ -497,6 +498,7 @@ types:
497498
- imported
498499
- rejected
499500
- canceled
501+
- partiallyImported
500502
Address:
501503
properties:
502504
id?:

api-specs/import/types/import-summary.raml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,7 @@ types:
5252
description: The number of ImportOperations in the `canceled` state.
5353
type: integer
5454
format: int64
55+
partiallyImported:
56+
description: The number of ImportOperations in the `partiallyImported` state.
57+
type: integer
58+
format: int64

0 commit comments

Comments
 (0)