• Update your business profile

    Parameters

    Returns Promise<any>

    await WPP.profile.editBusinessProfile({description: 'New description for profile'});
    
    await WPP.profile.editBusinessProfile({categories: {
    id: "133436743388217",
    localized_display_name: "Artes e entretenimento",
    not_a_biz: false,
    }});
    await WPP.profile.editBusinessProfile({adress: 'Street 01, New York'});
    
    await WPP.profile.editBusinessProfile({adress: 'Street 01, New York'});
    
    await WPP.profile.editBusinessProfile({email: 'test@test.com.br'});
    

    Change website of profile (max 2 sites)

    await WPP.profile.editBusinessProfile({website: [
    "https://www.wppconnect.io",
    "https://www.teste2.com.br",
    ]});

    Change businessHours for Specific Hours

    await WPP.profile.editBusinessProfile({ businessHours: {
    {
    tue: {
    mode: "specific_hours",
    hours: [
    [
    540,
    1080,
    ],
    ],
    },
    wed: {
    mode: "specific_hours",
    hours: [
    [
    540,
    1080,
    ],
    ],
    },
    thu: {
    mode: "specific_hours",
    hours: [
    [
    540,
    1080,
    ],
    ],
    },
    fri: {
    mode: "specific_hours",
    hours: [
    [
    540,
    1080,
    ],
    ],
    },
    sat: {
    mode: "specific_hours",
    hours: [
    [
    540,
    1080,
    ],
    ],
    },
    sun: {
    mode: "specific_hours",
    hours: [
    [
    540,
    1080,
    ],
    ],
    },
    }
    },
    timezone: "America/Sao_Paulo"
    });

    Change businessHours for Always Opened
    ```javascript
    await WPP.profile.editBusinessProfile({ businessHours: {
    {
    mon: {
    mode: "open_24h",
    },
    tue: {
    mode: "open_24h",
    },
    wed: {
    mode: "open_24h",
    },
    thu: {
    mode: "open_24h",
    },
    fri: {
    mode: "open_24h",
    },
    sat: {
    mode: "open_24h",
    },
    sun: {
    mode: "open_24h",
    },
    }
    timezone: "America/Sao_Paulo"
    });

    Change businessHours for Appointment Only
    ```javascript
    await WPP.profile.editBusinessProfile({ businessHours: { {
    mon: {
    mode: "appointment_only",
    },
    tue: {
    mode: "appointment_only",
    },
    wed: {
    mode: "appointment_only",
    },
    thu: {
    mode: "appointment_only",
    },
    fri: {
    mode: "appointment_only",
    },
    sat: {
    mode: "appointment_only",
    },
    sun: {
    mode: "appointment_only",
    },
    }
    timezone: "America/Sao_Paulo"
    });