This API operation updates the services that the current user is offering.
PUT
/v1/Account/UpdateServices
PUT
/v1/Groups/Account/UpdateServices
(See Group manager)
Property | Type | Description |
---|---|---|
IsOfferingServices |
boolean | Required. Indicates whether this user is offering services. If this is false, this means the user is seeking services instead. |
IsEscort |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing Escort Services. This is needed for the Booking endpoints. |
IsWebcam |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing Webcam Work/Services. This is needed for the Webcam and DirectCam endpoints. |
IsPhoneChat |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing Telephone-based Chat Services. This is needed for the PhoneChat endpoints. |
IsSMSChat |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing SMS-based Chat Services. |
IsContent |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing Erotic Content Services. This may be needed for the Picture and Movie endpoints. |
IsAlternative |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing Alternative Services. |
Alternatives |
aws:UpdateAlternatives | Required if IsAlternative equals true. An object containing the list of alternative services provided by the user, and whether the user wants to provide these via Physical Meetings. |
IsOtherServices |
boolean | Required if IsOfferingServices equals true. Indicates if this user is providing Other Services. This can only be true if IsEscort , IsWebcam , IsPhoneChat , IsSMSChat , IsContent and IsAlternative are all false. |
OtherServices |
string of comma-seperated integers | Required if IsOtherServices equals true. A list of other services that the user is providing. Enabling these comes with a daily fee of 1.00 Credits for the first service, and 0.10 Credits for any additional services (VAT excluded). For a list of services, see GetOtherServices. |
If the authenticated user is the manager of a group, the user can impersonate another member of the group. This allows the manager to perform tasks of other group members without having to authenticate as them.
The request can be build in the same way as the regular request, but targeted towards the Group manager endpoint. Additionally, it has the following extra parameters:
Property | Type | Description |
---|---|---|
UserID |
integer | Required. The ID of a member in the group that will be impersonated for this request. |
Parameters can be passed to this operation using the HTTP PUT method with serialized JSON in the request body.
The REST API uses HTTP request headers to determine what data type is returned or to authenticate the developer's API key. More information can be found in the overview section.
An Authorization header is required with every request and must contain the access_token of the user. More information can be found in the Access tokens page.
This endpoint requires the following scope:
Scope |
---|
profile_services |
Property | Type | Description |
---|---|---|
UserID |
integer | The ID of the AdultWork.com user profile. This is the primary means of identifying a profile. |
IsOfferingServices |
boolean | Represents whether the user's type allows him/her to offer services to others. |
CanChangeServices |
boolean | Represents whether the user is allowed to change his/her services. If this is false, changes made using UpdateServices will not go through. |
IsEscort |
boolean | Represents whether the user is providing Escort Services. This is needed for the Booking endpoints. |
IsWebcam |
boolean | Represents whether the user is providing Webcam Work/Services. This is needed for the Webcam and DirectCam endpoints. |
IsPhoneChat |
boolean | Represents whether the user is providing Telephone-based Chat Services. This is needed for the PhoneChat endpoints. |
IsSMSChat |
boolean | Represents whether the user is providing SMS-based Chat Services. |
IsContent |
boolean | Represents whether the user is providing Erotic Content Services. This may be needed for the Picture and Movie endpoints. |
IsAlternative |
boolean | Represents whether the user is providing Alternative Services. If this value is true , the values of Alternatives will be used. |
Alternatives |
aws:AlternativePracticesList | An object containing all alternative practice options selected by the user, and whether this user wishes to partake in if IsAlternative is true. For a list of possible options, see GetAlternativePractices. |
IsOtherServices |
boolean | Represents whether the user is providing Other Services. If this value is true , OtherServices is guaranteed to not be empty. |
OtherServices |
array of aws:OtherService | Contains a list of options selected by the user, containing all other services this user is offering. For a list of possible options, see GetOtherServices. |
The following example returns the services of a user who provides all services.