Skip to content

Commit

Permalink
Update to OCAPI help message
Browse files Browse the repository at this point in the history
  • Loading branch information
danechitoaie committed Jun 1, 2018
1 parent 8cababf commit f01e0b5
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions src/main/webapp/help/projectConfig-ocCredentialsId.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,34 @@
Open Commerce API credentials of type &quot;<tt>OSF Builder Suite :: Open Commerce API Credentials</tt>&quot; for the SFCC
instance where this data to be imported. Select &quot;<tt>- none -</tt>&quot; if you deploy to a instance that does
not require two factor auth.
<br>
<br>
<strong>Commerce API Settings</strong>
<br>
Go to &quot;<tt>Administration &gt; Site Development &gt; Open Commerce API Settings</tt>&quot;,
select type "Data", select context "Global" and add following configuration:
<br>
<br>
<pre>{
"_v": "18.3",
"clients": [
{
"client_id": "YOUR_CLIENT_ID",
"resources": [
{
"resource_id": "/jobs/*/executions",
"methods": ["post"],
"read_attributes": "(**)",
"write_attributes": "(**)"
},
{
"resource_id": "/jobs/*/executions/*",
"methods": ["get"],
"read_attributes": "(**)",
"write_attributes": "(**)"
}
]
}
]
}</pre>
</div>

0 comments on commit f01e0b5

Please sign in to comment.