Update store profile
documentedUpdate main store settings such as location, language, and related storefront configuration.
PUT /api/v3/{storeId}/profileStore Profileno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://app.ecwid.com/api/v3/{{$store_id}}/profile" \
-X PUT \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "Host: app.ecwid.com" \
-d '{"settings": {"closed": {{$closed}}, "storeDescription": "{{$storeDescription}}", "googleRemarketingEnabled": {{$googleRemarketingEnabled}}, "googleAnalyticsId": "{{$googleAnalyticsId}}", "fbPixelId": "{{$fbPixelId}}", "hideOutOfStockProductsInStorefront": {{$hideOutOfStockProductsInStorefront}}, "askCompanyName": {{$askCompanyName}}, "askConsentToTrackInStorefront": {{$askConsentToTrackInStorefront}}, "askZipCode": {{$askZipCode}}, "allowPreordersForOutOfStockProducts": {{$allowPreordersForOutOfStockProducts}}, "showPricePerUnit": {{$showPricePerUnit}}, "pinterestTagId": "{{$pinterestTagId}}"}, "company": {"companyName": "{{$companyName}}", "email": "{{$companyEmail}}", "street": "{{$companyStreet}}", "city": "{{$companyCity}}", "countryCode": "{{$countryCode}}", "postalCode": "{{$postalCode}}", "stateOrProvinceCode": "{{$stateCode}}", "phone": "{{$phone}}"}, "designSettings": {"product_list_image_size": "{{$product_list_image_size}}", "product_list_image_aspect_ratio": "{{$product_list_image_aspect_ratio}}", "product_list_product_info_layout": "{{$product_list_product_info_layout}}", "product_list_show_additional_image_on_hover": {{$product_list_show_additional}}, "product_list_title_behavior": "{{$product_list_title_behavior}}", "product_filters_opened_by_default_on_category_page": {{$product_filters_opened}}}, "socialLinksSettings": {"facebook": {"url": "{{$facebook_url}}"}}}'"