Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# assignChildCompany mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# createCompanyAddress mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# deleteCompanyAddress mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# setDefaultCompanyAddress mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# unassignChildCompany mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# updateCompanyAddress mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# placeNegotiableQuoteOrderV2 mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

The `placeNegotiableQuoteOrderV2` mutation converts a negotiable quote into an order and returns the full order object.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# setQuoteTemplateExpirationDate mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# approvePurchaseOrders mutation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# importSharedRequisitionList mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# shareRequisitionListByEmail mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# shareRequisitionListByToken mutation

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-mutation.md" />

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.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,11 @@ keywords:
- B2B
---

<Fragment src="../../../../../includes/saas-only.md"/>

<Fragment src="../../../../../includes/commerce-only.md"/>
<Fragment src="/includes/commerce-only.md"/>

# sharedRequisitionList query

<InlineAlert variant="info" slots="text1" />

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).
<Fragment src="/includes/scp-b2b-query.md" />

The `sharedRequisitionList` query uses a token to retrieve a shared requisition list. The response can contain the `sender_name` and `requisition_list` object.

Expand Down
3 changes: 3 additions & 0 deletions src/pages/includes/scp-b2b-mutation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<InlineAlert variant="info" slots="text1"/>

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.
3 changes: 3 additions & 0 deletions src/pages/includes/scp-b2b-query.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<InlineAlert variant="info" slots="text1"/>

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.
Loading