Get a campaign
Get a campaign
Path Parameters
Parameter | Details |
---|---|
id
| integer |
Query Parameters
Parameter | Details |
---|---|
shopId | integer |
Header Parameters
Parameter | Details |
---|---|
X-Shop-Id | integer |
Responses
200
Operation successful
application/json
Success
idrequired
integer
keyrequired
string
namerequired
string
descriptionrequired
string
reductionrequired
integer
start_at
string
Example:
2023-01-26T09:30:15+00:00
end_at
string
Example:
2023-01-26T09:30:15+00:00
startsAtrequired
string
Example:
2023-01-26T09:30:15+00:00
endsAtrequired
string
Example:
2023-01-26T09:30:15+00:00
customDatarequired
object
400
Required parameter is missing or invalid.
application/json
Error
401
Authentication credentials are missing or invalid.
application/json
Error
404
Resource was not found.
application/json
Error
429
Rate limit was exceeded.
application/json
Error
GET
Request samples
Response samples
200default:
Content type: application/json