You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Delete a product layer with specified `sku` and `source` values
1396
+
value:
1397
+
[
1398
+
{
1399
+
"sku": "red-pants",
1400
+
"source": {
1401
+
"locale": "en-US",
1402
+
"layer": "custom-layer"
1403
+
}
1404
+
}
1405
+
]
1279
1406
/v1/catalog/price-books:
1280
1407
post:
1281
1408
tags:
@@ -2478,6 +2605,87 @@ components:
2478
2605
example: MH01
2479
2606
source:
2480
2607
$ref: "#/components/schemas/Source"
2608
+
FeedProductLayer:
2609
+
title: Catalog Product Layer payload
2610
+
type: object
2611
+
required:
2612
+
- sku
2613
+
- source
2614
+
properties:
2615
+
sku:
2616
+
type: string
2617
+
description: SKU (Stock Keeping Unit) is a unique identifier for a product.
2618
+
example: MH01
2619
+
source:
2620
+
$ref: "#/components/schemas/SourceLayer"
2621
+
name:
2622
+
type: string
2623
+
description: Product name
2624
+
example: Kangaroo Hoodie
2625
+
slug:
2626
+
type: string
2627
+
description: The URL key for the product.
2628
+
example: kangaroo-hoodie.html
2629
+
description:
2630
+
type: string
2631
+
nullable: true
2632
+
description: The main description for the product
2633
+
example: A kangaroo hoodie for all seasons
2634
+
shortDescription:
2635
+
type: string
2636
+
nullable: true
2637
+
description: A short description of the product
2638
+
example: A hoodie for all seasons with a kangaroo pocket
2639
+
metaTags:
2640
+
$ref: "#/components/schemas/ProductMetaAttribute"
2641
+
attributes:
2642
+
type: array
2643
+
description: A list of product attributes.
2644
+
items:
2645
+
$ref: "#/components/schemas/ProductAttribute"
2646
+
images:
2647
+
type: array
2648
+
description: A list of product images.
2649
+
items:
2650
+
$ref: "#/components/schemas/ProductImage"
2651
+
links:
2652
+
type: array
2653
+
description: A list of linked SKUs.
2654
+
items:
2655
+
$ref: "#/components/schemas/ProductLink"
2656
+
routes:
2657
+
type: array
2658
+
description: A list of product routes.
2659
+
items:
2660
+
$ref: "#/components/schemas/ProductRoutes"
2661
+
configurations:
2662
+
type: array
2663
+
description: Composite products, such as configurable products, must provide a list of product options that a shopper can select (for example, "color", "size", etc.).
2664
+
items:
2665
+
$ref: "#/components/schemas/ProductConfiguration"
2666
+
bundles:
2667
+
type: array
2668
+
description: Composite products, such as bundle products, must include a list of individual products that are part of the bundle, organized into groups (for example, "shirts", "pants", "accessories").
2669
+
items:
2670
+
$ref: "#/components/schemas/ProductBundle"
2671
+
externalIds:
2672
+
type: array
2673
+
description: A list of external IDs for the product.
2674
+
items:
2675
+
$ref: "#/components/schemas/ProductExternalId"
2676
+
FeedProductLayerDelete:
2677
+
title: Catalog Product Layer delete payload
2678
+
type: object
2679
+
required:
2680
+
- sku
2681
+
- source
2682
+
properties:
2683
+
sku:
2684
+
type: string
2685
+
description: Product unique identifier
2686
+
example: MH01
2687
+
source:
2688
+
$ref: "#/components/schemas/SourceLayer"
2481
2689
FeedPricebook:
2482
2690
title: FeedPricebook
2483
2691
description: |
@@ -2762,6 +2970,21 @@ components:
2762
2970
type: string
2763
2971
description: A single value that represents content locale, for example, English.
2764
2972
example: English
2973
+
SourceLayer:
2974
+
title: Catalog layer source
2975
+
description: Source of the entity, for example, "en-US" for US English for layer "MyLayer"
2976
+
type: object
2977
+
required:
2978
+
- layer
2979
+
properties:
2980
+
locale:
2981
+
type: string
2982
+
description: A single value that represents content locale. When absent layer is treated as global for any locale.
2983
+
example: English
2984
+
layer:
2985
+
type: string
2986
+
description: A single value that represents content layer.
2987
+
example: MyLayer
2765
2988
ProductMetaAttribute:
2766
2989
title: Meta Attributes
2767
2990
description: Meta attributes that are specified in <meta> tags.
0 commit comments