Documentation Sweet Pricing API

PUT / productgroups / :productGroupId

This endpoint updates an existing in-app store.

URL

https://api.sweetpricing.com/v1.0/productgroups/:productGroupId

Header

Field Type Description
Authorization String

Header of form api-key <API key>

Authorization: api-key <API Key>

Body

Field Type Description
name String

Product group name.

Size: ..255

{
	"name": "Gold Coins"
}

200

Field Type Description
id Number

ID of the product group.

appId Number

ID of the app.

name String

Product group name.

Size: ..255

{
	"id": 1,
	"appId": 1,
	"name": "Gold Coins"
}

401

Name Description
401

You are not authenticated to perform the request.

403

Name Description
403

You are not allowed to view/modify this resource.

404

Name Description
404

Resource not found.