diff --git a/src/pages/graphql/schema/b2b/company/mutations/assign-child-company.md b/src/pages/graphql/schema/b2b/company/mutations/assign-child-company.md index 21b03be2f..eb0ec8c1a 100644 --- a/src/pages/graphql/schema/b2b/company/mutations/assign-child-company.md +++ b/src/pages/graphql/schema/b2b/company/mutations/assign-child-company.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # assignChildCompany mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `assignChildCompany` mutation allows company administrators to assign a child company to a parent company within the company hierarchy. This mutation requires `parentId` and `childId` as unique IDs of the companies as parameters. This mutation returns a `company_hierarchy` object if successful. diff --git a/src/pages/graphql/schema/b2b/company/mutations/create-address.md b/src/pages/graphql/schema/b2b/company/mutations/create-address.md index 4a4b794f4..8efe43916 100644 --- a/src/pages/graphql/schema/b2b/company/mutations/create-address.md +++ b/src/pages/graphql/schema/b2b/company/mutations/create-address.md @@ -5,13 +5,11 @@ keywords: - B2B --- - + # createCompanyAddress mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `createCompanyAddress` mutation allows a company admin or user who is assigned a role that contains the `Magento_CompanyAddressStorefrontCompatibility::add` permission to create a new company address. diff --git a/src/pages/graphql/schema/b2b/company/mutations/delete-address.md b/src/pages/graphql/schema/b2b/company/mutations/delete-address.md index d2c9f50b6..eac6d1dd1 100644 --- a/src/pages/graphql/schema/b2b/company/mutations/delete-address.md +++ b/src/pages/graphql/schema/b2b/company/mutations/delete-address.md @@ -5,13 +5,11 @@ keywords: - B2B --- - + # deleteCompanyAddress mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `deleteCompanyAddress` mutation allows a company admin or user who is assigned a role that contains the `Magento_CompanyAddressStorefrontCompatibility::delete` permission to delete an existing company address using a provided company UID. diff --git a/src/pages/graphql/schema/b2b/company/mutations/set-default-address.md b/src/pages/graphql/schema/b2b/company/mutations/set-default-address.md index fa23c93f0..069431a46 100644 --- a/src/pages/graphql/schema/b2b/company/mutations/set-default-address.md +++ b/src/pages/graphql/schema/b2b/company/mutations/set-default-address.md @@ -5,13 +5,11 @@ keywords: - B2B --- - + # setDefaultCompanyAddress mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `setDefaultCompanyAddress` mutation allows a company admin or user who is assigned a role that contains the `Magento_CompanyAddressStorefrontCompatibility::default` permission to set a company address based on the provided address UID as the default billing or shipping address for the company. diff --git a/src/pages/graphql/schema/b2b/company/mutations/unassign-child-company.md b/src/pages/graphql/schema/b2b/company/mutations/unassign-child-company.md index dc5d542b0..c114182bb 100644 --- a/src/pages/graphql/schema/b2b/company/mutations/unassign-child-company.md +++ b/src/pages/graphql/schema/b2b/company/mutations/unassign-child-company.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # unassignChildCompany mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `unassignChildCompany` mutation allows company administrators to unassign a child company from a parent company within the company hierarchy. This mutation requires `child_company_id` as unique IDs of the child company as parameters. This mutation returns a `company_hierarchy` object if successful. diff --git a/src/pages/graphql/schema/b2b/company/mutations/update-address.md b/src/pages/graphql/schema/b2b/company/mutations/update-address.md index 6dfeb9c69..e512a43b0 100644 --- a/src/pages/graphql/schema/b2b/company/mutations/update-address.md +++ b/src/pages/graphql/schema/b2b/company/mutations/update-address.md @@ -5,13 +5,11 @@ keywords: - B2B --- - + # updateCompanyAddress mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `updateCompanyAddress` mutation allows a company admin or user who is assigned a role that contains the `Magento_CompanyAddressStorefrontCompatibility::edit` permission to update an existing company address. diff --git a/src/pages/graphql/schema/b2b/negotiable-quote/mutations/place-order-v2.md b/src/pages/graphql/schema/b2b/negotiable-quote/mutations/place-order-v2.md index 827bec111..f73c61b4d 100644 --- a/src/pages/graphql/schema/b2b/negotiable-quote/mutations/place-order-v2.md +++ b/src/pages/graphql/schema/b2b/negotiable-quote/mutations/place-order-v2.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # placeNegotiableQuoteOrderV2 mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `placeNegotiableQuoteOrderV2` mutation converts a negotiable quote into an order and returns the full order object. diff --git a/src/pages/graphql/schema/b2b/negotiable-quote/mutations/set-quote-template-expiration-date.md b/src/pages/graphql/schema/b2b/negotiable-quote/mutations/set-quote-template-expiration-date.md index ca4c02f20..1b27f787a 100644 --- a/src/pages/graphql/schema/b2b/negotiable-quote/mutations/set-quote-template-expiration-date.md +++ b/src/pages/graphql/schema/b2b/negotiable-quote/mutations/set-quote-template-expiration-date.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # setQuoteTemplateExpirationDate mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `setQuoteTemplateExpirationDate` mutation can be used to set an expiration date for a negotiable quote, as it is not set by default. The mutation requires `template_id` and `expiration_date` as input parameters. diff --git a/src/pages/graphql/schema/b2b/purchase-order/mutations/approve.md b/src/pages/graphql/schema/b2b/purchase-order/mutations/approve.md index bab61a90a..884a7eb7e 100644 --- a/src/pages/graphql/schema/b2b/purchase-order/mutations/approve.md +++ b/src/pages/graphql/schema/b2b/purchase-order/mutations/approve.md @@ -5,7 +5,7 @@ keywords: - B2B --- - + # approvePurchaseOrders mutation diff --git a/src/pages/graphql/schema/b2b/requisition-list/mutations/import-shared-requisition-list.md b/src/pages/graphql/schema/b2b/requisition-list/mutations/import-shared-requisition-list.md index d944ec1bd..4f90c6bd8 100644 --- a/src/pages/graphql/schema/b2b/requisition-list/mutations/import-shared-requisition-list.md +++ b/src/pages/graphql/schema/b2b/requisition-list/mutations/import-shared-requisition-list.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # importSharedRequisitionList mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `importSharedRequisitionList` mutation allows recipients within the same company to import or clone a shared requisition list. You must specify a valid token, generated by the [shareRequisitionListByToken](share-requisition-list-by-token.md) mutation, as an input parameter. This mutation returns a `requisition_list` object and `user_errors`, if any. diff --git a/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-email.md b/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-email.md index af2d564a4..549029383 100644 --- a/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-email.md +++ b/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-email.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # shareRequisitionListByEmail mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `shareRequisitionListByEmail` mutation enables B2B customers to share a requisition list with colleagues within the same company in an email. The mutation requires `requisitionListUid` and an array of `customerUids` as input parameters. This mutation returns a `sent_count` which shows the count of emails the list has been shared to, and `user_errors`, if any. diff --git a/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-token.md b/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-token.md index 34dd2a7b7..c608f929c 100644 --- a/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-token.md +++ b/src/pages/graphql/schema/b2b/requisition-list/mutations/share-requisition-list-by-token.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # shareRequisitionListByToken mutation - - -This mutation is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `shareRequisitionListByToken` mutation enables B2B customers to share a requisition list with colleagues within the same company using a shareable link generated on the storefront. The mutation requires `requisitionListUid` as an input parameter. This mutation returns the token assigned to the shared requisition list. diff --git a/src/pages/graphql/schema/b2b/requisition-list/queries/shared-requisition-list.md b/src/pages/graphql/schema/b2b/requisition-list/queries/shared-requisition-list.md index 62b270d43..e7354fdb1 100644 --- a/src/pages/graphql/schema/b2b/requisition-list/queries/shared-requisition-list.md +++ b/src/pages/graphql/schema/b2b/requisition-list/queries/shared-requisition-list.md @@ -5,15 +5,11 @@ keywords: - B2B --- - - - + # sharedRequisitionList query - - -This query is part of the B2B Storefront Compatibility Package and is only available on [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview). + The `sharedRequisitionList` query uses a token to retrieve a shared requisition list. The response can contain the `sender_name` and `requisition_list` object. diff --git a/src/pages/includes/scp-b2b-mutation.md b/src/pages/includes/scp-b2b-mutation.md new file mode 100644 index 000000000..949d3e556 --- /dev/null +++ b/src/pages/includes/scp-b2b-mutation.md @@ -0,0 +1,3 @@ + + +This mutation is part of the Storefront Compatibility B2B Package. It is available in [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview) and in Adobe Commerce on Cloud or on-premises projects with [Adobe Commerce Optimizer Connector](https://experienceleague.adobe.com/en/docs/commerce/aco-optimizer-connector/overview) enabled. diff --git a/src/pages/includes/scp-b2b-query.md b/src/pages/includes/scp-b2b-query.md new file mode 100644 index 000000000..b49cced2d --- /dev/null +++ b/src/pages/includes/scp-b2b-query.md @@ -0,0 +1,3 @@ + + +This query is part of the Storefront Compatibility B2B Package. It is available in [Adobe Commerce as a Cloud Service](https://experienceleague.adobe.com/en/docs/commerce/cloud-service/overview) and in Adobe Commerce on Cloud or on-premises projects with [Adobe Commerce Optimizer Connector](https://experienceleague.adobe.com/en/docs/commerce/aco-optimizer-connector/overview) enabled.