Skip to content

Commit

Permalink
Merge pull request #2323 from spryker/glue-api-guides-3
Browse files Browse the repository at this point in the history
Standardize Glue API guides
  • Loading branch information
andriitserkovnyi authored Nov 16, 2023
2 parents 6c4b39a + 6faf0dc commit c296c2e
Show file tree
Hide file tree
Showing 114 changed files with 206 additions and 194 deletions.
18 changes: 9 additions & 9 deletions _data/sidebars/pbc_all_sidebar.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1190,7 +1190,7 @@ entries:
nested:
- title: Install and upgrade
nested:
- title: Integrate the Gift Cards feature
- title: Install the Gift Cards feature
url: /docs/pbc/all/gift-cards/install-and-upgrade/install-the-gift-cards-feature.html
- title: Enable gift cards
url: /docs/pbc/all/gift-cards/install-and-upgrade/enable-gift-cards.html
Expand All @@ -1204,13 +1204,13 @@ entries:
- title: Manage using Glue API
nested:
- title: Manage gift cards of guest users
url: /docs/pbc/all/gift-cards/manage-using-glue-api/manage-gift-cards-of-guest-users.html
url: /docs/pbc/all/gift-cards/manage-using-glue-api/glue-api-manage-gift-cards-of-guest-users.html
- title: Retrieve gift cards in guest carts
url: /docs/pbc/all/gift-cards/manage-using-glue-api/retrieve-gift-cards-in-guest-carts.html
url: /docs/pbc/all/gift-cards/manage-using-glue-api/glue-api-retrieve-gift-cards-in-guest-carts.html
- title: Manage gift cards of registered users
url: /docs/pbc/all/gift-cards/manage-using-glue-api/manage-gift-cards-of-registered-users.html
url: /docs/pbc/all/gift-cards/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html
- title: Retrieve gift cards in carts of registered users
url: /docs/pbc/all/gift-cards/manage-using-glue-api/retrieve-gift-cards-in-carts-of-registered-users.html
url: /docs/pbc/all/gift-cards/manage-using-glue-api/glue-api-retrieve-gift-cards-in-carts-of-registered-users.html
- title: Identity Access Management
url: /docs/pbc/all/identity-access-management/identity-access-management.html
nested:
Expand Down Expand Up @@ -2380,13 +2380,13 @@ entries:
- title: Manage using Glue API
nested:
- title: Retrieve abstract product prices
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/retrieve-abstract-product-prices.html
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/glue-api-retrieve-abstract-product-prices.html
- title: Retrieve concrete product prices
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/retrieve-concrete-product-prices.html
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/glue-api-retrieve-concrete-product-prices.html
- title: Retrieve prices when retrieving abstract products
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/retrieve-prices-when-retrieving-abstract-products.html
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/glue-api-retrieve-prices-when-retrieving-abstract-products.html
- title: Retrieve prices when retrieving concrete products
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/retrieve-prices-when-retrieving-concrete-products.html
url: /docs/pbc/all/price-management/base-shop/manage-using-glue-api/glue-api-retrieve-prices-when-retrieving-concrete-products.html
- title: Tutorials and HowTos
nested:
- title: Create personalized prices
Expand Down
2 changes: 1 addition & 1 deletion _scripts/redirects_generator/redirect_from_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ process_markdown_files() {
}

# Specify the folder to add `redirect_from` to
folder_path="docs/pbc/all/discount-management/202307.0/base-shop/install-and-upgrade"
folder_path="docs/pbc/all/price-management/202307.0/base-shop/manage-using-glue-api"

# Check if the folder exists
if [ ! -d "$folder_path" ]; then
Expand Down
2 changes: 1 addition & 1 deletion _scripts/redirects_generator/redirects_generator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ process_files() {
}

# Specify the folder containing the files to add paths to
folder_path="docs/pbc/all/warehouse-management-system/202311.0/unified-commerce/install-and-upgrade"
folder_path="docs/pbc/all/price-management/202307.0/base-shop/manage-using-glue-api"

# Check if the folder exists
if [ ! -d "$folder_path" ]; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ For the attributes of the included resources, see:

* [Retrieve a concrete product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Add an item to a registered user's cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#add-an-item-to-a-registered-users-cart-response-attributes)
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-registered-users.html)
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html)
* [Retrieving product labels](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-product-labels.html#product-labels-response-attributes)

## Possible errors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ related:
- title: Managing items in carts of registered users
link: docs/scos/dev/glue-api-guides/page.version/managing-carts/carts-of-registered-users/managing-items-in-carts-of-registered-users.html
- title: Managing gift cards of registered users
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/manage-gift-cards-of-registered-users.html
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html
- title: Retrieving customer carts
link: docs/scos/dev/glue-api-guides/page.version/managing-customers/retrieving-customer-carts.html
---
Expand Down Expand Up @@ -1746,7 +1746,7 @@ Alternatively, you can retrieve all carts belonging to a customer through the **
For the attributes of the included resources, see:
* [Retrieve a concrete product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Add an item to a registered user's cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#add-an-item-to-a-registered-users-cart-response-attributes)
* [Managing Gift Cards of Registered Users](/docs/pbc/all/gift-cards/{{page.version}}/manage-using-glue-api/manage-gift-cards-of-registered-users.html)
* [Managing Gift Cards of Registered Users](/docs/pbc/all/gift-cards/{{page.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html)
* [Retrieving product labels](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-product-labels.html#product-labels-response-attributes)

## Retrieve a registered user's cart
Expand Down Expand Up @@ -2931,7 +2931,7 @@ For the attributes of carts of registered users and included resources, see [Ret

For the attributes of other included resources, see:
* [Add an item to a registered user's cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#add-an-item-to-a-registered-users-cart-response-attributes).
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-registered-users.html).
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html).
* [Cart permission groups](/docs/scos/dev/glue-api-guides/{{site.version}}/managing-carts/sharing-company-user-carts/retrieving-cart-permission-groups.html).
* [Managing items in carts of registered users](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html).
* [Retrieve a concrete product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ redirect_from:
related:
- title: Manage carts of registered users
link: docs/pbc/all/cart-and-checkout/page.version/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-carts-of-registered-users.html
- title: Manage gift cards of registered users
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/manage-gift-cards-of-registered-users.html
- title: "Glue API: Manage gift cards of registered users"
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html
---

This endpoint allows you to manage items in the carts of registered users by adding, changing, and deleting them.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2632,7 +2632,7 @@ It is the responsibility of the API Client to track whether the selected items a
For the attributes of other included resources, see the following:
* [Threshold attributes](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#threshold-attributes).
* [Retrieve a guest cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-guest-carts/glue-api-manage-guest-carts.html#guest-cart-response-attributes)
* [Gift cards of guest users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-guest-users.html)
* [Gift cards of guest users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-guest-users.html)
* [Retrieving concrete products](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Retrieve an abstract product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/abstract-products/glue-api-retrieve-abstract-products.html#abstract-products-response-attributes)
* [Retrieving bundled products](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-bundled-products.html#bundled-products-response-attributes)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ related:
- title: Manage guest cart items
link: docs/scos/dev/glue-api-guides/page.version/managing-carts/guest-carts/managing-guest-cart-items.html
- title: Managing gift cards of guest users
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/manage-gift-cards-of-guest-users.html
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/glue-api-manage-gift-cards-of-guest-users.html
---

This endpoint allows to manage guest carts.
Expand Down Expand Up @@ -1010,7 +1010,7 @@ For the attributes of other included resources, see:
* [Manage guest cart items](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-guest-carts/glue-api-manage-guest-cart-items.html)
* [Retrieve measurement units](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-measurement-units.html)
* [Retrieving concrete products](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Gift Cards of Guest Users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-guest-users.html)
* [Gift Cards of Guest Users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-guest-users.html)
* [Retrieve a measurement unit](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-measurement-units.html#measurement-units-response-attributes)
* [Retrieving product labels](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-product-labels.html#product-labels-response-attributes)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1613,7 +1613,7 @@ For the attributes of the included resources, see:

* [Retrieve a concrete product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Add an item to a registered user's cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#add-an-item-to-a-registered-users-cart-response-attributes)
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-registered-users.html)
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html)
* [Retrieving product labels](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-product-labels.html#product-labels-response-attributes)

## Possible errors
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ related:
- title: Managing items in carts of registered users
link: docs/scos/dev/glue-api-guides/page.version/managing-carts/carts-of-registered-users/managing-items-in-carts-of-registered-users.html
- title: Managing gift cards of registered users
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/manage-gift-cards-of-registered-users.html
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html
- title: Retrieving customer carts
link: docs/pbc/all/customer-relationship-management/page.version/base-shop/manage-using-glue-api/customers/glue-api-retrieve-customer-orders.html
---
Expand Down Expand Up @@ -1747,7 +1747,7 @@ Alternatively, you can retrieve all carts belonging to a customer through the **
For the attributes of the included resources, see:
* [Retrieve a concrete product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Add an item to a registered user's cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#add-an-item-to-a-registered-users-cart-response-attributes)
* [Managing Gift Cards of Registered Users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-registered-users.html)
* [Managing Gift Cards of Registered Users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html)
* [Retrieving product labels](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/glue-api-retrieve-product-labels.html#product-labels-response-attributes)

## Retrieve a registered user's cart
Expand Down Expand Up @@ -2932,7 +2932,7 @@ For the attributes of carts of registered users and included resources, see [Ret

For the attributes of other included resources, see:
* [Add an item to a registered user's cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#add-an-item-to-a-registered-users-cart-response-attributes).
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-registered-users.html).
* [Manage gift cards of registered users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html).
* [Cart permission groups](/docs/scos/dev/glue-api-guides/{{site.version}}/managing-carts/sharing-company-user-carts/retrieving-cart-permission-groups.html).
* [Managing items in carts of registered users](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html).
* [Retrieve a concrete product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ redirect_from:
related:
- title: Manage carts of registered users
link: docs/pbc/all/cart-and-checkout/page.version/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-carts-of-registered-users.html
- title: Manage gift cards of registered users
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/manage-gift-cards-of-registered-users.html
- title: "Glue API: Manage gift cards of registered users"
link: docs/pbc/all/gift-cards/page.version/manage-using-glue-api/glue-api-manage-gift-cards-of-registered-users.html
---

This endpoint allows you to manage items in the carts of registered users by adding, changing, and deleting them.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2632,7 +2632,7 @@ It is the responsibility of the API Client to track whether the selected items a
For the attributes of other included resources, see the following:
* [Threshold attributes](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-carts-of-registered-users/glue-api-manage-items-in-carts-of-registered-users.html#threshold-attributes).
* [Retrieve a guest cart](/docs/pbc/all/cart-and-checkout/{{page.version}}/base-shop/manage-using-glue-api/manage-guest-carts/glue-api-manage-guest-carts.html#guest-cart-response-attributes)
* [Gift cards of guest users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/manage-gift-cards-of-guest-users.html)
* [Gift cards of guest users](/docs/pbc/all/gift-cards/{{site.version}}/manage-using-glue-api/glue-api-manage-gift-cards-of-guest-users.html)
* [Retrieving concrete products](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/concrete-products/glue-api-retrieve-concrete-products.html#concrete-products-response-attributes)
* [Retrieve an abstract product](/docs/pbc/all/product-information-management/{{site.version}}/base-shop/manage-using-glue-api/abstract-products/glue-api-retrieve-abstract-products.html#abstract-products-response-attributes)
* [Retrieving bundled products](/docs/scos/dev/glue-api-guides/{{site.version}}/managing-products/retrieving-bundled-products.html)
Expand Down
Loading

0 comments on commit c296c2e

Please sign in to comment.