[Store Customization] Update the store title with an AI generated one (#41632)
* Make the call to update the store title with an AI generated one * Add changelog
This commit is contained in:
parent
853ba527d2
commit
b6657403f8
|
@ -275,6 +275,14 @@ export const updateStorePatterns = async (
|
|||
context.businessInfoDescription.descriptionText,
|
||||
},
|
||||
} ),
|
||||
apiFetch( {
|
||||
path: '/wc/private/ai/store-title',
|
||||
method: 'POST',
|
||||
data: {
|
||||
business_description:
|
||||
context.businessInfoDescription.descriptionText,
|
||||
},
|
||||
} ),
|
||||
] );
|
||||
|
||||
if ( ! response.ai_content_generated ) {
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
Significance: minor
|
||||
Type: enhancement
|
||||
|
||||
Call to the store title endpoint to update the store title with an AI generated one
|
Loading…
Reference in New Issue